<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0039)http://bbs.msdn5.com/thread-27-1-1.html -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/hm.js.download"></script><script id="_1524644787094_7575" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/detect.json"></script>

<title>玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09/2015 - 『 玄机产品库 』 -  C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#</title>
<link href="http://bbs.msdn5.com/thread-27-1-1.html" rel="canonical">
<script type="text/javascript" async="" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/fm.js.download"></script><script type="text/javascript">
	(function(){
	    _fmOpt = {
	        partner: 'bbs_msdn5_com',
	        appName: 'bbs_msdn5_com_web',
	        token: '4d55a3bf5893bbf937eed8d4341d43b6'
	    };
	    var cimg = new Image(1,1);
	    cimg.onload = function() {
	        _fmOpt.imgLoaded = true;
	    };
	    cimg.src = "https://fp.fraudmetrix.cn/fp/clear.png?partnerCode=bbs_msdn5_com&appName=bbs_msdn5_com_web&tokenId=" + _fmOpt.token;
	    var fm = document.createElement('script'); fm.type = 'text/javascript'; fm.async = true;
	    fm.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'static.fraudmetrix.cn/fm.js?ver=0.1&t=' + (new Date().getTime()/3600000).toFixed(0);
	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(fm, s);
	})();
	</script>
<meta name="keywords" content="玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09/2015">
<meta name="description" content=" 玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09/2015 ,C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#">
<meta name="generator" content="Discuz! X3.2">
<meta name="author" content="Discuz! Team and Comsenz UI Team">
<meta name="copyright" content="2001-2013 Comsenz Inc.">
<meta name="MSSmartTagsPreventParsing" content="True">
<meta http-equiv="MSThemeCompatible" content="Yes">
<!--<base href="http://bbs.msdn5.com/">--><base href="."><link rel="stylesheet" type="text/css" href="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/style_1_common.css"><link rel="stylesheet" type="text/css" href="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/style_1_forum_viewthread.css"><link rel="stylesheet" id="css_extstyle" type="text/css" href="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/style.css"><script type="text/javascript">var STYLEID = '1', STATICURL = 'static/', IMGDIR = 'static/image/common', VERHASH = 'c3W', charset = 'utf-8', discuz_uid = '0', cookiepre = '4Mkn_2132_', cookiedomain = '', cookiepath = '/', showusercard = '1', attackevasive = '0', disallowfloat = 'newthread', creditnotice = '1|RMB|,2|紫晶|,4|游客|', defaultstyle = './template/default/style/t1', REPORTURL = 'aHR0cDovL2Jicy5tc2RuNS5jb20vdGhyZWFkLTI3LTEtMS5odG1s', SITEURL = 'http://bbs.msdn5.com/', JSPATH = 'data/cache/', CSSPATH = 'data/cache/style_', DYNAMICURL = '';</script>
<script src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/common.js.download" type="text/javascript"></script>
<meta name="application-name" content="C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#">
<meta name="msapplication-tooltip" content="C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#">
<meta name="msapplication-task" content="name=首页;action-uri=http://bbs.msdn5.com/forum.php;icon-uri=http://bbs.msdn5.com/static/image/common/bbs.ico">
<link rel="archives" title="C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#" href="http://bbs.msdn5.com/archiver/">
<script src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/forum.js.download" type="text/javascript"></script>
<script src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/getdzjs" ime-cfg="lt=2"></script><script charset="UTF-8" id="gt_lib" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/geetest.6.0.9.js.download"></script><script charset="UTF-8" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/get.php"></script><link rel="stylesheet" href="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/style.3.2.0.css"></head>

<body id="nv_forum" class="pg_viewthread" onkeydown="if(event.keyCode==27) return false;">
<div id="append_parent"><div id="ls_fastloginfield_ctrl_menu" class="sltm" style="display: none; width: 40px;"><ul><li class="current">用户名</li><li>Email</li></ul></div></div><div id="ajaxwaitid"></div>
<div id="toptb" class="cl">
<div class="wp">
<div class="z"><a href="javascript:;" onclick="setHomepage(&#39;http://bbs.msdn5.com/&#39;);">设为首页</a><a href="http://bbs.msdn5.com/" onclick="addFavorite(this.href, &#39;C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#&#39;);return false;">收藏本站</a></div>
<div class="y">
<a id="switchblind" href="javascript:;" onclick="toggleBlind(this)" title="开启辅助访问" class="switchblind">开启辅助访问</a>
<a href="javascript:;" id="switchwidth" onclick="widthauto(this)" title="切换到宽版" class="switchwidth">切换到宽版</a>
</div>
</div>
<script src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/get(1).php"></script></div>

<div id="qmenu_menu" class="p_pop blk" style="display: none;">
<div class="ptm pbw hm">
请 <a href="javascript:;" class="xi2" onclick="lsSubmit()"><strong>登录</strong></a> 后使用快捷导航<br>没有帐号？<a href="http://bbs.msdn5.com/member.php?mod=register" class="xi2 xw1">立即注册</a>
</div>
<div id="fjump_menu" class="btda"></div></div><div id="hd">
<div class="wp">
<div class="hdc cl"><h2><a href="http://bbs.msdn5.com/" title="C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/logo.png" alt="C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#" border="0"></a></h2><script src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/logging.js.download" type="text/javascript"></script>
<form method="post" autocomplete="off" id="lsform" action="http://bbs.msdn5.com/member.php?mod=logging&amp;action=login&amp;loginsubmit=yes&amp;infloat=yes&amp;lssubmit=yes" onsubmit="return lsSubmit();">
<div class="fastlg cl">
<span id="return_ls" style="display:none"></span>
<div class="y pns">
<table cellspacing="0" cellpadding="0">
<tbody><tr>
<td>
<span class="ftid">
<select name="fastloginfield" id="ls_fastloginfield" width="40" tabindex="900" selecti="0" style="display: none;">


<option value="username"></option></select><a href="javascript:;" id="ls_fastloginfield_ctrl" style="width:40px" tabindex="900">用户名</a>
</span>
<script type="text/javascript">simulateSelect('ls_fastloginfield')</script>
</td>
<td><input type="text" name="username" id="ls_username" autocomplete="off" class="px vm" tabindex="901"></td>
<td class="fastlg_l"><label for="ls_cookietime"><input type="checkbox" name="cookietime" id="ls_cookietime" class="pc" value="2592000" tabindex="903">自动登录</label></td>
<td>&nbsp;<a href="javascript:;" onclick="showWindow(&#39;login&#39;, &#39;member.php?mod=logging&amp;action=login&amp;viewlostpw=1&#39;)">找回密码</a></td>
</tr>
<tr>
<td><label for="ls_password" class="z psw_w">密码</label></td>
<td><input type="password" name="password" id="ls_password" class="px vm" autocomplete="off" tabindex="902"></td>
<td class="fastlg_l"><button type="submit" class="pn vm" tabindex="904" style="width: 75px;"><em>登录</em></button></td>
<td>&nbsp;<a href="http://bbs.msdn5.com/member.php?mod=register" class="xi2 xw1">立即注册</a></td>
</tr>
</tbody></table>
<input type="hidden" name="quickforward" value="yes">
<input type="hidden" name="handlekey" value="ls">
</div>

<div class="fastlg_fm y" style="margin-right: 10px; padding-right: 10px">
<p><a href="http://bbs.msdn5.com/connect.php?mod=login&amp;op=init&amp;referer=forum.php%3Fmod%3Dviewthread%26tid%3D27%26extra%3Dpage%253D1%26page%3D1&amp;statfrom=login_simple"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/qq_login.gif" class="vm" alt="QQ登录"></a></p>
<p class="hm xg1" style="padding-top: 2px;">只需一步，快速开始</p>
</div>
        <script type="text/javascript" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/gt-init.js.download"></script>
        <script type="text/javascript">
            var lsform = document.getElementById('lsform');
            var o = document.createElement("button");  
            o.id = "header-loggin-btn";       
            o.setAttribute('type', 'submit');                               
            o.value = ""; 
            o.style.display="none";
            lsform.appendChild(o);
        </script>
        <div><table><tbody><tr><th style="width:80px;"><div></div></th><td id="index_login">
        <div class="gt_input"><input class="geetest_challenge" type="hidden" name="geetest_challenge"><input class="geetest_validate" type="hidden" name="geetest_validate"><input class="geetest_seccode" type="hidden" name="geetest_seccode"></div></td></tr></tbody></table></div>
        <script type="text/javascript">
            getCaptcha("#index_login","popup","#header-loggin-btn");
        </script></div><button id="origin_header-loggin-btn" type="submit" value="" style="display: none;"></button><button id="header-loggin-btn" type="submit" value="" style="display: none;"></button>
</form>

</div>

<div id="nv">
<a href="javascript:;" id="qmenu" onmouseover="delayShow(this, function () {showMenu({&#39;ctrlid&#39;:&#39;qmenu&#39;,&#39;pos&#39;:&#39;34!&#39;,&#39;ctrlclass&#39;:&#39;a&#39;,&#39;duration&#39;:2});showForummenu(37);})">快捷导航</a>
<ul><li class="a" id="mn_forum"><a href="http://bbs.msdn5.com/forum.php" hidefocus="true" title="玄机论坛">首页<span>玄机论坛</span></a></li><li id="mn_Nfa38" onmouseover="showMenu({&#39;ctrlid&#39;:this.id,&#39;ctrlclass&#39;:&#39;hover&#39;,&#39;duration&#39;:2})"><a href="http://bbs.msdn5.com/forum-37-1.html" hidefocus="true">玄机产品</a></li><li id="mn_Nec7d" onmouseover="showMenu({&#39;ctrlid&#39;:this.id,&#39;ctrlclass&#39;:&#39;hover&#39;,&#39;duration&#39;:2})"><a href="http://bbs.msdn5.com/forum-2-1.html" hidefocus="true">所有公开课</a></li><li id="mn_N70b7"><a href="http://bbs.msdn5.com/forum-38-1.html" hidefocus="true">有问必答</a></li><li id="mn_Ndd25"><a href="http://bbs.msdn5.com/thread-1218-1-1.html" hidefocus="true" title="论坛网盘资源失效后统一补充" target="_blank" style="font-weight: bold;color: yellow">网盘资源<span>论坛网盘资源失效后统一补充</span></a></li><li id="mn_N4e01"><a href="http://bbs.msdn5.com/thread-1450-1-1.html" hidefocus="true" style="font-weight: bold;color: yellow">玄机令-混沌守卫 免费混淆工具</a></li><li id="mn_N237f"><a href="http://bbs.msdn5.com/thread-999-1-1.html" hidefocus="true">免费基础培训</a></li><li id="mn_N6b46"><a href="http://bbs.msdn5.com/thread-1607-1-1.html" hidefocus="true" target="_blank">窗体修炼手册</a></li></ul>
</div>
<ul class="p_pop h_pop" id="plugin_menu" style="display: none">  <li><a href="http://bbs.msdn5.com/plugin.php?id=dsu_paulsign:sign" id="mn_plink_sign">每日签到</a></li>
 </ul>
<ul class="p_pop h_pop" id="mn_Nfa38_menu" style="display: none"><li><a href="http://bbs.msdn5.com/thread-11-1-1.html" hidefocus="true">HttpCode</a></li><li><a href="http://bbs.msdn5.com/thread-15-1-1.html" hidefocus="true">玄机宝盒</a></li><li><a href="http://bbs.msdn5.com/forum.php?mod=forumdisplay&amp;fid=37&amp;filter=typeid&amp;typeid=4" hidefocus="true">SocketHelper</a></li></ul><ul class="p_pop h_pop" id="mn_Nec7d_menu" style="display: none"><li><a href="http://bbs.msdn5.com/thread-999-1-1.html" hidefocus="true">免费基础培训</a></li><li><a href="http://bbs.msdn5.com/thread-1607-1-1.html" hidefocus="true">窗体修炼手册</a></li><li><a href="http://bbs.msdn5.com/forum.php?mod=forumdisplay&amp;fid=2&amp;filter=typeid&amp;typeid=7" hidefocus="true">快速入门</a></li><li><a href="http://bbs.msdn5.com/forum.php?mod=forumdisplay&amp;fid=2&amp;filter=typeid&amp;typeid=16" hidefocus="true">HTTP详解</a></li><li><a href="http://bbs.msdn5.com/forum.php?mod=forumdisplay&amp;fid=2&amp;filter=typeid&amp;typeid=26" hidefocus="true">JS调试</a></li><li><a href="http://bbs.msdn5.com/forum.php?mod=forumdisplay&amp;fid=2&amp;filter=typeid&amp;typeid=9" hidefocus="true">E转C#</a></li><li><a href="http://bbs.msdn5.com/forum.php?mod=forumdisplay&amp;fid=2&amp;filter=typeid&amp;typeid=8" hidefocus="true">多线程/委托/数据库/Win32Api</a></li><li><a href="http://bbs.msdn5.com/forum.php?mod=forumdisplay&amp;fid=2&amp;filter=typeid&amp;typeid=17" hidefocus="true">高级协议分析</a></li></ul><div class="p_pop h_pop" id="mn_userapp_menu" style="display: none"></div><div id="mu" class="cl">
</div><div id="scbar" class="cl">
<form id="scbar_form" method="post" autocomplete="off" onsubmit="searchFocus($(&#39;scbar_txt&#39;))" action="http://bbs.msdn5.com/search.php?searchsubmit=yes" target="_blank">
<input type="hidden" name="mod" id="scbar_mod" value="forum">
<input type="hidden" name="formhash" value="22cbde00">
<input type="hidden" name="srchtype" value="title">
<input type="hidden" name="srhfid" value="37">
<input type="hidden" name="srhlocality" value="forum::viewthread">
<table cellspacing="0" cellpadding="0">
<tbody><tr>
<td class="scbar_icon_td"></td>
<td class="scbar_txt_td"><input type="text" name="srchtxt" id="scbar_txt" value="请输入搜索内容" autocomplete="off" x-webkit-speech="" speech="" class=" xg1" placeholder="请输入搜索内容"></td>
<td class="scbar_type_td"><a href="javascript:;" id="scbar_type" class="xg1" onclick="showMenu(this.id)" hidefocus="true">帖子</a></td>
<td class="scbar_btn_td"><button type="submit" name="searchsubmit" id="scbar_btn" sc="1" class="pn pnc" value="true"><strong class="xi2">搜索</strong></button></td>
<td class="scbar_hot_td">
<div id="scbar_hot">
<strong class="xw1">热搜: </strong>

<a href="http://bbs.msdn5.com/search.php?mod=forum&amp;srchtxt=C%23%20%E8%AE%BA%E5%9D%9B&amp;formhash=22cbde00&amp;searchsubmit=true&amp;source=hotsearch" target="_blank" class="xi2" sc="1">C# 论坛</a>



<a href="http://bbs.msdn5.com/search.php?mod=forum&amp;srchtxt=%E7%8E%84%E6%9C%BA%E7%B1%BB%E5%BA%93&amp;formhash=22cbde00&amp;searchsubmit=true&amp;source=hotsearch" target="_blank" class="xi2" sc="1">玄机类库</a>



<a href="http://bbs.msdn5.com/search.php?mod=forum&amp;srchtxt=C%23%E6%95%99%E7%A8%8B&amp;formhash=22cbde00&amp;searchsubmit=true&amp;source=hotsearch" target="_blank" class="xi2" sc="1">C#教程</a>



<a href="http://bbs.msdn5.com/search.php?mod=forum&amp;srchtxt=C%23%E6%BA%90%E7%A0%81&amp;formhash=22cbde00&amp;searchsubmit=true&amp;source=hotsearch" target="_blank" class="xi2" sc="1">C#源码</a>

</div>
</td>
</tr>
</tbody></table>
</form>
</div>
<ul id="scbar_type_menu" class="p_pop" style="display: none;"><li><a href="javascript:;" rel="curforum" fid="37">本版</a></li><li><a href="javascript:;" rel="forum" class="curtype">帖子</a></li><li><a href="javascript:;" rel="user">用户</a></li></ul>
<script type="text/javascript">
initSearchmenu('scbar', '');
</script>
</div>
</div>

<style type="text/css">
@import url('http://bbs.msdn5.com/source/plugin/mw_syntaxhighlighter/syntaxhighlighter3/styles/shCore.css?ver=3.0.83');
@import url('http://bbs.msdn5.com/source/plugin/mw_syntaxhighlighter/syntaxhighlighter3/styles/shCoreDefault.css?ver=3.0.83');
@import url('http://bbs.msdn5.com/source/plugin/mw_syntaxhighlighter/syntaxhighlighter3/styles/shThemeDefault.css?ver=3.0.83');
.syntaxhighlighter,
.syntaxhighlighter a,
.syntaxhighlighter div,
.syntaxhighlighter code,
.syntaxhighlighter table,
.syntaxhighlighter table td,
.syntaxhighlighter table tr,
.syntaxhighlighter table tbody,
.syntaxhighlighter table thead,
.syntaxhighlighter table caption,
.syntaxhighlighter textarea {
font-size: 12px !important; /* Set the font size in pixels */
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; /* Set the font type */
}
.syntaxhighlighter table caption {
/* For Title(Caption) */
font-size: 14px !important; /* Set the font size in pixels */
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; /* Set the font type */
}
.syntaxhighlighter.nogutter td.code .line {
/* Set the left padding space when no-gutter in ver. 3.0 */
padding-left: 3px !important;
}

.syntaxhighlighter .lines {
	padding: 5px 0px 5px 0px !important;
}
.syntaxhighlighter .line .number {
	padding: 5px 5px 5px 0 !important;
}
.syntaxhighlighter .line .content {
	padding: 5px 0px 5px 10px !important;
}

/* For gutter */
.syntaxhighlighter table td.code {
width:auto !important;
}
.syntaxhighlighter table td.gutter .line {
padding: 0 0.5em !important;
}
.syntaxhighlighter .gutter {
width: 40px !important;
}

.syntaxhighlighter table td.gutter .line {
	padding: 5px 5px 5px 0 !important;
}
.syntaxhighlighter table td.code .line {
	padding: 5px 0px 5px 10px !important;
}

.syntaxhighlighter {
/* For Chrome/Safari(WebKit) */
/* Hide the superfluous vertical scrollbar in ver. 3.0 */
/*overflow-y: hidden !important;*/
padding: 1px !important;
}

.syntaxhighlighter {
	width: 99.7% !important;
	max-height: 600px !important;
	height:expression(this.scrollHeight > 600 ? "600px" : "auto");
	overflow-y: auto;
}

/* For Title(Caption) */
font-size: 10px !important; /* Set the font size in pixels */
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; /* Set the font type */
}
</style>

<div id="wp" class="wp">
<script type="text/javascript">var fid = parseInt('37'), tid = parseInt('27');</script>

<script src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/forum_viewthread.js.download" type="text/javascript"></script>
<script type="text/javascript">zoomstatus = parseInt(1);var imagemaxwidth = '600';var aimgcount = new Array();</script>

<style id="diy_style" type="text/css"></style>
<!--[diy=diynavtop]--><div id="diynavtop" class="area"></div><!--[/diy]-->
<div id="pt" class="bm cl">
<div class="z">
<a href="http://bbs.msdn5.com/" class="nvhm" title="首页">C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#</a><em>»</em><a href="http://bbs.msdn5.com/forum.php">首页</a> <em>›</em> <a href="http://bbs.msdn5.com/forum.php?gid=1">『 技术交流 』</a> <em>›</em> <a href="http://bbs.msdn5.com/forum-37-1.html">『 玄机产品库 』</a> <em>›</em> <a href="http://bbs.msdn5.com/thread-27-1-1.html">玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-0 ...</a>
</div>
</div>

<script src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/jquery-1.4.4.min.js.download" type="text/javascript"></script><script type="text/javascript">jQuery.noConflict();</script><script type="text/javascript">(function(d){j=d.createElement('script');j.src='//openapi.guanjia.qq.com/fcgi-bin/getdzjs?cmd=urlquery_utf-8_zh_cn';j.setAttribute('ime-cfg','lt=2');d.getElementsByTagName('head')[0].appendChild(j)})(document)</script><link rel="stylesheet" type="text/css" href="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/style(1).css"><style id="diy_style" type="text/css"></style>
<div class="wp">
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>

<div id="ct" class="wp cl">
<div id="pgt" class="pgs mbm cl ">
<div class="pgt"><div class="pg"><strong>1</strong><a href="http://bbs.msdn5.com/thread-27-2-1.html">2</a><a href="http://bbs.msdn5.com/thread-27-3-1.html">3</a><a href="http://bbs.msdn5.com/thread-27-4-1.html">4</a><a href="http://bbs.msdn5.com/thread-27-5-1.html">5</a><a href="http://bbs.msdn5.com/thread-27-6-1.html">6</a><a href="http://bbs.msdn5.com/thread-27-7-1.html">7</a><a href="http://bbs.msdn5.com/thread-27-8-1.html">8</a><a href="http://bbs.msdn5.com/thread-27-9-1.html">9</a><a href="http://bbs.msdn5.com/thread-27-10-1.html">10</a><a href="http://bbs.msdn5.com/thread-27-21-1.html" class="last">... 21</a><label><input type="text" name="custompage" class="px" size="2" title="输入页码，按回车快速跳转" value="1" onkeydown="if(event.keyCode==13) {window.location=&#39;forum.php?mod=viewthread&amp;tid=27&amp;extra=page%3D1&amp;page=&#39;+this.value;; doane(event);}"><span title="共 21 页"> / 21 页</span></label><a href="http://bbs.msdn5.com/thread-27-2-1.html" class="nxt">下一页</a></div></div>
<span class="y pgb"><a href="http://bbs.msdn5.com/forum-37-1.html">返回列表</a></span>
<a id="newspecial" onmouseover="$(&#39;newspecial&#39;).id = &#39;newspecialtmp&#39;;this.id = &#39;newspecial&#39;;showMenu({&#39;ctrlid&#39;:this.id})" onclick="showWindow(&#39;newthread&#39;, &#39;forum.php?mod=post&amp;action=newthread&amp;fid=37&#39;)" href="javascript:;" title="发新帖"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/pn_post.png" alt="发新帖"></a></div>



<div id="postlist" class="pl bm">
<table cellspacing="0" cellpadding="0">
<tbody><tr>
<td class="pls ptn pbn">
<div class="hm ptn">
<span class="xg1">查看:</span> <span class="xi1">33924</span><span class="pipe">|</span><span class="xg1">回复:</span> <span class="xi1">203</span>
</div>
</td>
<td class="plc ptm pbn vwthd">
<div class="y">
<a href="http://bbs.msdn5.com/forum.php?mod=viewthread&amp;action=printable&amp;tid=27" title="打印" target="_blank"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/print.png" alt="打印" class="vm"></a>
<a href="http://bbs.msdn5.com/forum.php?mod=redirect&amp;goto=nextoldset&amp;tid=27" title="上一主题"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/thread-prev.png" alt="上一主题" class="vm"></a>
<a href="http://bbs.msdn5.com/forum.php?mod=redirect&amp;goto=nextnewset&amp;tid=27" title="下一主题"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/thread-next.png" alt="下一主题" class="vm"></a>
</div>
<h1 class="ts">
<a href="http://bbs.msdn5.com/forum.php?mod=forumdisplay&amp;fid=37&amp;filter=typeid&amp;typeid=4">[XJSocket]</a>
<span id="thread_subject">玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09/2015</span>
</h1>
<span class="xg1">
&nbsp;<img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/hot_2.gif" alt="" title="热度: 163">
<a href="http://bbs.msdn5.com/thread-27-1-1.html" onclick="return copyThreadUrl(this, &#39;C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#&#39;)">[复制链接]</a>
</span>
</td>
</tr>
</tbody></table>


<table cellspacing="0" cellpadding="0" class="ad">
<tbody><tr>
<td class="pls">
</td>
<td class="plc">
</td>
</tr>
</tbody></table><div id="post_203"><table id="pid203" class="plhin" summary="pid203" cellspacing="0" cellpadding="0">
<tbody><tr>
<td class="pls" rowspan="2">
<div id="favatar203" class="pls favatar">
<a name="newpost"></a> <div class="p_pop blk bui card_gender_" id="userinfo203" style="display: none; ">
<div class="m z">
<div id="userinfo203_ma"></div>
</div>
<div class="i y">
<div>
<strong><a href="http://bbs.msdn5.com/space-uid-11.html" target="_blank" class="xi2">君临</a></strong>
<em>当前离线</em>
</div><dl class="cl">
<dt>积分</dt><dd><a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=11&amp;do=profile" target="_blank" class="xi2">1368</a></dd>
</dl><div class="imicn">
<a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=11&amp;do=profile" target="_blank" title="查看详细资料"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/userinfo.gif" alt="查看详细资料"></a>
</div>
<div id="avatarfeed"><span id="threadsortswait"></span></div>
</div>
</div>
<div>
<div class="avatar"><a href="http://bbs.msdn5.com/space-uid-11.html" class="avtm" target="_blank"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/avatar.php"></a></div>
</div>
<div class="qdsmile"><li><center>TA的每日心情</center><table><tbody><tr><th><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/yl.gif"></th><th><font size="5px">慵懒</font><br>2017-12-22 10:34</th></tr></tbody></table></li></div><p>签到天数: 82 天</p><p>[LV.6]【武林翘楚】</p></div>
</td>
<td class="plc">
<div class="pi">
<div id="fj" class="y">
<label class="z">电梯直达</label>
<input type="text" class="px p_fre z" size="2" onkeyup="$(&#39;fj_btn&#39;).href=&#39;forum.php?mod=redirect&amp;ptid=27&amp;authorid=0&amp;postno=&#39;+this.value" onkeydown="if(event.keyCode==13) {window.location=$(&#39;fj_btn&#39;).href;return false;}" title="跳转到指定楼层">
<a href="javascript:;" id="fj_btn" class="z" title="跳转到指定楼层"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/fj_btn.png" alt="跳转到指定楼层" class="vm"></a>
</div>
<strong>
<a href="http://bbs.msdn5.com/thread-27-1-1.html" id="postnum203" onclick="setCopy(this.href, &#39;帖子地址复制成功&#39;);return false;">
楼主</a>
</strong>
<div class="pti">
<div class="pdbt">
</div>
<div class="authi">
<img class="authicn vm" id="authicon203" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/online_admin.gif">
<a href="http://bbs.msdn5.com/space-uid-11.html" target="_blank" class="xi2">君临</a>
<em id="authorposton203">发表于 2014-10-11 22:15:25</em>
<span class="pipe">|</span>
<a href="http://bbs.msdn5.com/forum.php?mod=viewthread&amp;tid=27&amp;page=1&amp;authorid=11" rel="nofollow">只看该作者</a>
<span class="pipe">|</span><a href="http://bbs.msdn5.com/forum.php?mod=viewthread&amp;tid=27&amp;from=album">只看大图</a>
<span class="none"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/arw_r.gif" class="vm" alt="回帖奖励"></span>
<span class="pipe show">|</span><a href="http://bbs.msdn5.com/forum.php?mod=viewthread&amp;tid=27&amp;extra=page%3D1&amp;ordertype=1" class="show">倒序浏览</a>
<span class="pipe show">|</span><a href="javascript:;" onclick="readmode($(&#39;thread_subject&#39;).innerHTML, 203);" class="show">阅读模式</a>
</div>
</div>
</div><div class="pct"><style type="text/css">.pcb{margin-right:0}</style><div class="pcb">
 
<div class="t_fsz">
<table cellspacing="0" cellpadding="0"><tbody><tr><td class="t_f" id="postmessage_203">
<div class="attach_nopermission attach_tips">
<div>
<h3><strong>
玄机论坛-专业的C#交流论坛 交流QQ群: <b>16885911</b><br>如有疑问,请加入官方群询问</strong></h3>
<p>您需要 <a href="http://bbs.msdn5.com/member.php?mod=logging&amp;action=login" onclick="showWindow(&#39;login&#39;, this.href);return false;">登录</a> 才可以下载或查看，没有帐号？<a href="http://bbs.msdn5.com/member.php?mod=register" title="注册帐号">立即注册</a> 

<a href="http://bbs.msdn5.com/connect.php?mod=login&amp;op=init&amp;referer=forum.php%3Fmod%3Dviewthread%26tid%3D27%26extra%3Dpage%253D1%26page%3D1&amp;statfrom=login" target="_top" rel="nofollow"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/qq_login.gif" class="vm"></a>

</p>
</div>
<span class="atips_close" onclick="this.parentNode.style.display=&#39;none&#39;">x</span>
</div>
<img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/02.gif" smilieid="26" border="0" alt=""> <br>
本类库采用<strong>TcpLister,TcpClient</strong>高度封装,<br>
采用<strong>NetworkStream</strong>进行异步模式读取数据.<br>
采用<strong>Semaphore</strong>来进行并发控制,<br>
<font color="#ff0000">放弃异步的最大原因还是在对于新手朋友来说难以理解异步的处理方式,在本类库中还有一个没有加入工程的asynchelper,这个类库是纯异步实现.</font><br>
当前处理方式:&nbsp;&nbsp;<font color="#ff0000">异步+同步</font> ,海量数据并发不是靠异步就能解决的问题,在对学习Socket和想快速使用Socket的朋友来说,同步是很好的选择.<br>
可同时接受<font size="4"><strong>5000+</strong></font>连接同时访问,而<strong>CPU消耗完全忽略不计.</strong>.<br>
本着代码<strong><font size="4">简洁</font>,简单</strong>.<font size="4"><strong>通俗易懂</strong></font>的原则,进行代码封装,不像其他通信框架写很多各式各样的<font size="2"><font color="#8b0000">接口</font></font>.对新手朋友和刚接触通信程序的朋友带来很大的困扰.<br>
<font color="#ff0000">本代码<strong><font size="4">完全开源</font></strong>,但请保留署名,以示<font size="4">尊重</font>.!</font><br>
<br>
<font color="#ff0000">感谢 <strong>tan133 </strong>对本类库的支持,几乎几个更新的bug/不人性化 都是他找出来的.很给力..</font><br>
<div class="quote"><blockquote>更新日志</blockquote></div><br>
<ul><li>2.6.3<br>
</li></ul><ul type="1" class="litype_1"><li>修正缓冲区大小为1024</li><li>新增服务端重载,可监听所有网卡</li><li>修正若干小bug.<br>
</li></ul><br>
<br>
<ul><li>2.6.2修正部分<br>
</li></ul><ul type="1" class="litype_1"><li>增加服务端Demo多次开启判断.</li><li>增加ErrorCode中的ConnectSuccess状态(用于推送连接状态)</li><li>修正一写无用/冗余代码</li><li>增加客户端Demo状态推送扩展<br>
</li></ul><br>
ErrorCode可以自行扩展为StatusCode,用来区分不同的状态.<br>
<br>
<br>
<br>
<br>
<ul><li>修改原发送sendData 方法为SendToClient&nbsp;&nbsp;允许直接发送byte数组</li><li>增加 SendToClient 重载&nbsp;&nbsp;【 直接发送byte 】<br>
</li></ul> <div style="padding:15px 0;"><div style="font-size:12px;">[C#] <em class="viewsource" style="cursor:pointer;font-size:12px;color:#369 !important;" num="0">纯文本查看</em> <em class="copycode" style="cursor:pointer;font-size:12px;color:#369 !important;" num="0">复制代码</em></div><div><div id="highlighter_207366" class="syntaxhighlighter notranslate csharp"><div class="toolbar"><span><a href="http://bbs.msdn5.com/#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number2 index1 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 向某一位客户端发送信息</code></div><div class="line number3 index2 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number4 index3 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;param name="ip"&gt;客户端IP+端口地址&lt;/param&gt;</code></div><div class="line number5 index4 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;param name="SendData"&gt;发送的数据包&lt;/param&gt;</code></div><div class="line number6 index5 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp keyword">public</code> <code class="csharp keyword">void</code> <code class="csharp plain">SendToClient(IPEndPoint ip, </code><code class="csharp keyword">byte</code><code class="csharp plain">[] SendDataBuffer)</code></div></div></td></tr></tbody></table></div></div></div><br>
<br>
<ul><li>增加掉线重连(自动复活)&nbsp; &nbsp;方法名 : RestartInit()</li><li>增加几个异常推送的枚举&nbsp;&nbsp;ErrorCode<br>
</li></ul><div style="padding:15px 0;"><div style="font-size:12px;">[C#] <em class="viewsource" style="cursor:pointer;font-size:12px;color:#369 !important;" num="1">纯文本查看</em> <em class="copycode" style="cursor:pointer;font-size:12px;color:#369 !important;" num="1">复制代码</em></div><div><div id="highlighter_547897" class="syntaxhighlighter notranslate csharp"><div class="toolbar"><span><a href="http://bbs.msdn5.com/#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">01</div><div class="line number2 index1 alt1">02</div><div class="line number3 index2 alt2">03</div><div class="line number4 index3 alt1">04</div><div class="line number5 index4 alt2">05</div><div class="line number6 index5 alt1">06</div><div class="line number7 index6 alt2">07</div><div class="line number8 index7 alt1">08</div><div class="line number9 index8 alt2">09</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div><div class="line number13 index12 alt2">13</div><div class="line number14 index13 alt1">14</div><div class="line number15 index14 alt2">15</div><div class="line number16 index15 alt1">16</div><div class="line number17 index16 alt2">17</div><div class="line number18 index17 alt1">18</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number2 index1 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 具体错误类型</code></div><div class="line number3 index2 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number4 index3 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp keyword">public</code> <code class="csharp keyword">enum</code> <code class="csharp plain">ErrorCodes</code></div><div class="line number5 index4 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">{</code></div><div class="line number6 index5 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number7 index6 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 对象为null</code></div><div class="line number8 index7 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number9 index8 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">objectNull,</code></div><div class="line number10 index9 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number11 index10 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 连接时发生错误</code></div><div class="line number12 index11 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number13 index12 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">ConnectError,</code></div><div class="line number14 index13 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number15 index14 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 尝试发送失败异常</code></div><div class="line number16 index15 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number17 index16 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">TrySendData,</code></div><div class="line number18 index17 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">}</code></div></div></td></tr></tbody></table></div></div></div><br>
下面我和大家一起来分享这个类库的使用方式.<br>
<div class="quote"><blockquote><font size="4"><strong>服务端的调用</strong></font></blockquote></div><br>
先来看下服务端的界面<br>

<ignore_js_op>

<img id="aimg_22" aid="22" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/none.gif" zoomfile="data/attachment/forum/201410/11/210040l4iqbq8riiboai9a.png" file="data/attachment/forum/201410/11/210040l4iqbq8riiboai9a.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" inpost="1" onmouseover="showMenu({&#39;ctrlid&#39;:this.id,&#39;pos&#39;:&#39;12&#39;})">

<div class="tip tip_4 aimg_tip" id="aimg_22_menu" style="position: absolute; display: none" disautofocus="true">
<div class="xs0">
<p><strong>服务端界面.png</strong> <em class="xg1">(7.21 KB, 下载次数: 101)</em></p>
<p>
<a href="http://bbs.msdn5.com/forum.php?mod=attachment&amp;aid=MjJ8MTQ3MTU3OTB8MTUyNDY0NDY5OHwwfDI3&amp;nothumb=yes" target="_blank" class="gj_safe_a">下载附件</a>

</p>

<p class="xg1 y">2014-10-11 21:00 上传</p>

</div>
<div class="tip_horn"></div>
</div>

</ignore_js_op>
<br>
第一个列表框用来获取服务端状态信息.<br>
第二个列表框用来获取客户端发来的消息.<br>
一个下来列表框来记录客户端上线.边上的0来记录当前连接数<br>
<br>
界面非常简洁,咱们来看类库的使用方式.<br>
<div class="quote"><blockquote><font size="3">第一步,引入命名空间</font></blockquote></div><br>
当引用xuanjiSocket类库以后,请添加<br>
<div style="padding:15px 0;"><div style="font-size:12px;">[C#] <em class="viewsource" style="cursor:pointer;font-size:12px;color:#369 !important;" num="2">纯文本查看</em> <em class="copycode" style="cursor:pointer;font-size:12px;color:#369 !important;" num="2">复制代码</em></div><div><div id="highlighter_449145" class="syntaxhighlighter notranslate csharp"><div class="toolbar"><span><a href="http://bbs.msdn5.com/#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="csharp keyword">using</code> <code class="csharp plain">XuanJiSocket;</code></div></div></td></tr></tbody></table></div></div></div><br>
添加服务端类.如果没有引入命名空间,那么可以将鼠标光标置于类变量中,按快捷键 Shift + Alt + F10 自动引入类库命名空间<br>
<div style="padding:15px 0;"><div style="font-size:12px;">[C#] <em class="viewsource" style="cursor:pointer;font-size:12px;color:#369 !important;" num="3">纯文本查看</em> <em class="copycode" style="cursor:pointer;font-size:12px;color:#369 !important;" num="3">复制代码</em></div><div><div id="highlighter_501608" class="syntaxhighlighter notranslate csharp"><div class="toolbar"><span><a href="http://bbs.msdn5.com/#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="csharp plain">SocketHelper.TcpServer server;</code></div></div></td></tr></tbody></table></div></div></div><br>
<div style="padding:15px 0;"><div style="font-size:12px;">[C#] <em class="viewsource" style="cursor:pointer;font-size:12px;color:#369 !important;" num="4">纯文本查看</em> <em class="copycode" style="cursor:pointer;font-size:12px;color:#369 !important;" num="4">复制代码</em></div><div><div id="highlighter_971928" class="syntaxhighlighter notranslate csharp"><div class="toolbar"><span><a href="http://bbs.msdn5.com/#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="csharp keyword">private</code> <code class="csharp keyword">void</code> <code class="csharp plain">ServerDemo_Load(</code><code class="csharp keyword">object</code> <code class="csharp plain">sender, EventArgs e)</code></div><div class="line number2 index1 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">{ </code></div><div class="line number3 index2 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">server = </code><code class="csharp keyword">new</code> <code class="csharp plain">SocketHelper.TcpServer();</code><code class="csharp comments">//初始化变量</code></div><div class="line number4 index3 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&nbsp;</div><div class="line number5 index4 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">}</code></div></div></td></tr></tbody></table></div></div></div><br>
在窗体加载事件中,完成对server变量的初始化.<br>
<div class="quote"><blockquote>SocketHelper.pushSockets = new SocketHelper.PushSockets(Rec);</blockquote></div><br>
这是本类非常重要的<font size="3"><font color="#ff0000">委托</font></font>变量. <br>
它的作用就是<strong><font size="3">推送所有信息</font></strong>.!请在Start前对其初始化.!<br>
<div style="padding:15px 0;"><div style="font-size:12px;">[C#] <em class="viewsource" style="cursor:pointer;font-size:12px;color:#369 !important;" num="5">纯文本查看</em> <em class="copycode" style="cursor:pointer;font-size:12px;color:#369 !important;" num="5">复制代码</em></div><div><div id="highlighter_728598" class="syntaxhighlighter notranslate csharp"><div class="toolbar"><span><a href="http://bbs.msdn5.com/#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="csharp keyword">private</code> <code class="csharp keyword">void</code> <code class="csharp plain">Rec(SocketHelper.Sockets sks)</code></div><div class="line number2 index1 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">{</code></div><div class="line number3 index2 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">}</code></div></div></td></tr></tbody></table></div></div></div><br>
这是处理推送器消息的方法.!<br>
<br>
<div class="quote"><blockquote><strong><font size="2">SocketHelper.Sockets</font></strong></blockquote></div><br>
大家可以看下这个自定义对象<br>
<div style="padding:15px 0;"><div style="font-size:12px;">[C#] <em class="viewsource" style="cursor:pointer;font-size:12px;color:#369 !important;" num="6">纯文本查看</em> <em class="copycode" style="cursor:pointer;font-size:12px;color:#369 !important;" num="6">复制代码</em></div><div><div id="highlighter_772635" class="syntaxhighlighter notranslate csharp"><div class="toolbar"><span><a href="http://bbs.msdn5.com/#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">01</div><div class="line number2 index1 alt1">02</div><div class="line number3 index2 alt2">03</div><div class="line number4 index3 alt1">04</div><div class="line number5 index4 alt2">05</div><div class="line number6 index5 alt1">06</div><div class="line number7 index6 alt2">07</div><div class="line number8 index7 alt1">08</div><div class="line number9 index8 alt2">09</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div><div class="line number13 index12 alt2">13</div><div class="line number14 index13 alt1">14</div><div class="line number15 index14 alt2">15</div><div class="line number16 index15 alt1">16</div><div class="line number17 index16 alt2">17</div><div class="line number18 index17 alt1">18</div><div class="line number19 index18 alt2">19</div><div class="line number20 index19 alt1">20</div><div class="line number21 index20 alt2">21</div><div class="line number22 index21 alt1">22</div><div class="line number23 index22 alt2">23</div><div class="line number24 index23 alt1">24</div><div class="line number25 index24 alt2">25</div><div class="line number26 index25 alt1">26</div><div class="line number27 index26 alt2">27</div><div class="line number28 index27 alt1">28</div><div class="line number29 index28 alt2">29</div><div class="line number30 index29 alt1">30</div><div class="line number31 index30 alt2">31</div><div class="line number32 index31 alt1">32</div><div class="line number33 index32 alt2">33</div><div class="line number34 index33 alt1">34</div><div class="line number35 index34 alt2">35</div><div class="line number36 index35 alt1">36</div><div class="line number37 index36 alt2">37</div><div class="line number38 index37 alt1">38</div><div class="line number39 index38 alt2">39</div><div class="line number40 index39 alt1">40</div><div class="line number41 index40 alt2">41</div><div class="line number42 index41 alt1">42</div><div class="line number43 index42 alt2">43</div><div class="line number44 index43 alt1">44</div><div class="line number45 index44 alt2">45</div><div class="line number46 index45 alt1">46</div><div class="line number47 index46 alt2">47</div><div class="line number48 index47 alt1">48</div><div class="line number49 index48 alt2">49</div><div class="line number50 index49 alt1">50</div><div class="line number51 index50 alt2">51</div><div class="line number52 index51 alt1">52</div><div class="line number53 index52 alt2">53</div><div class="line number54 index53 alt1">54</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number2 index1 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 自定义Socket对象</code></div><div class="line number3 index2 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number4 index3 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp keyword">public</code> <code class="csharp keyword">class</code> <code class="csharp plain">Sockets</code></div><div class="line number5 index4 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">{</code></div><div class="line number6 index5 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number7 index6 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 接收缓冲区</code></div><div class="line number8 index7 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number9 index8 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp keyword">public</code> <code class="csharp keyword">byte</code><code class="csharp plain">[] RecBuffer = </code><code class="csharp keyword">new</code> <code class="csharp keyword">byte</code><code class="csharp plain">[8 * 1024];&nbsp; </code></div><div class="line number10 index9 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number11 index10 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 发送缓冲区</code></div><div class="line number12 index11 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number13 index12 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp keyword">public</code> <code class="csharp keyword">byte</code><code class="csharp plain">[] SendBuffer = </code><code class="csharp keyword">new</code> <code class="csharp keyword">byte</code><code class="csharp plain">[8 * 1024];</code></div><div class="line number14 index13 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number15 index14 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 异步接收后包的大小</code></div><div class="line number16 index15 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number17 index16 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp keyword">public</code> <code class="csharp keyword">int</code> <code class="csharp plain">Offset { </code><code class="csharp keyword">get</code><code class="csharp plain">; </code><code class="csharp keyword">set</code><code class="csharp plain">; }</code></div><div class="line number18 index17 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number19 index18 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 空构造</code></div><div class="line number20 index19 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number21 index20 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp keyword">public</code> <code class="csharp plain">Sockets() { }</code></div><div class="line number22 index21 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number23 index22 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 创建Sockets对象</code></div><div class="line number24 index23 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number25 index24 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;param name="ip"&gt;Ip地址&lt;/param&gt;</code></div><div class="line number26 index25 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;param name="client"&gt;TcpClient&lt;/param&gt;</code></div><div class="line number27 index26 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;param name="ns"&gt;承载客户端Socket的网络流&lt;/param&gt;</code></div><div class="line number28 index27 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp keyword">public</code> <code class="csharp plain">Sockets(IPEndPoint ip, TcpClient client, NetworkStream ns)</code></div><div class="line number29 index28 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">{</code></div><div class="line number30 index29 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">Ip = ip;</code></div><div class="line number31 index30 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">Client = client;</code></div><div class="line number32 index31 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">nStream = ns;</code></div><div class="line number33 index32 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">}</code></div><div class="line number34 index33 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number35 index34 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 当前IP地址,端口号</code></div><div class="line number36 index35 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number37 index36 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp keyword">public</code> <code class="csharp plain">IPEndPoint Ip { </code><code class="csharp keyword">get</code><code class="csharp plain">; </code><code class="csharp keyword">set</code><code class="csharp plain">; }</code></div><div class="line number38 index37 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number39 index38 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 客户端主通信程序</code></div><div class="line number40 index39 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number41 index40 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp keyword">public</code> <code class="csharp plain">TcpClient Client { </code><code class="csharp keyword">get</code><code class="csharp plain">; </code><code class="csharp keyword">set</code><code class="csharp plain">; }</code></div><div class="line number42 index41 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number43 index42 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 承载客户端Socket的网络流</code></div><div class="line number44 index43 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number45 index44 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp keyword">public</code> <code class="csharp plain">NetworkStream nStream { </code><code class="csharp keyword">get</code><code class="csharp plain">; </code><code class="csharp keyword">set</code><code class="csharp plain">; }</code></div><div class="line number46 index45 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number47 index46 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 发生异常时不为null.</code></div><div class="line number48 index47 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number49 index48 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp keyword">public</code> <code class="csharp plain">Exception ex { </code><code class="csharp keyword">get</code><code class="csharp plain">; </code><code class="csharp keyword">set</code><code class="csharp plain">; }</code></div><div class="line number50 index49 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;summary&gt;</code></div><div class="line number51 index50 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// 新客户端标识.如果推送器发现此标识为true,那么认为是新的连接</code></div><div class="line number52 index51 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp color1">/// &lt;/summary&gt;</code></div><div class="line number53 index52 alt2"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp keyword">public</code> <code class="csharp keyword">bool</code> <code class="csharp plain">NewClientFlag { </code><code class="csharp keyword">get</code><code class="csharp plain">; </code><code class="csharp keyword">set</code><code class="csharp plain">; }</code></div><div class="line number54 index53 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">}</code></div></div></td></tr></tbody></table></div></div></div><br>
<br>
每个属性都有注释,来解释这个属性的作用..具体处理细节.请下载demo阅读<br>
<font color="#ff0000">上面那些信息绝非无用,而是整个类的重中之重以及消息处理方式.</font><br>
<br>
<div class="quote"><blockquote><strong><font size="4">启动类库,并开始监听</font></strong></blockquote></div><br>
<div style="padding:15px 0;"><div style="font-size:12px;">[C#] <em class="viewsource" style="cursor:pointer;font-size:12px;color:#369 !important;" num="7">纯文本查看</em> <em class="copycode" style="cursor:pointer;font-size:12px;color:#369 !important;" num="7">复制代码</em></div><div><div id="highlighter_420552" class="syntaxhighlighter notranslate csharp"><div class="toolbar"><span><a href="http://bbs.msdn5.com/#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="csharp plain">server.InitSocket(IPAddress.Any, 9527);</code><code class="csharp comments">//监听所有地址,监听端口为9527</code></div><div class="line number2 index1 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">server.Start();</code><code class="csharp comments">//启动服务端 </code></div></div></td></tr></tbody></table></div></div></div><br>
之前在窗体加载时已经初始化过变量,现在直接使用它的InitSocket来配置服务端.使用Start方法启动监听.!<br>
默认调用后便认为监听成功.!<br>
如若其他情况,例如异常时： 会推送监听失败消息至服务端Rev方法中.具体参阅源码.<br>
<div class="quote"><blockquote><font size="3">停止服务端</font></blockquote></div><br>
直接调用Stop方法即可停止服务端.<strong>Stop方法调用后,可继续启动服务端.!</strong><br>
至此,服务端的描述就介绍完了,使用非常简单,<br>
你要做的就下面几件事：<br>
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;1 、 声明服务端变量。<br>
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;2 、 初始化推送器。<br>
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;3 、 配置服务端。<br>
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;4 、 启动服务端<br>
<div class="quote"><blockquote><strong><font size="3">服务端发送信息</font></strong></blockquote></div><br>
服务端有两个自带方法<br>
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<div style="padding:15px 0;"><div style="font-size:12px;">[C#] <em class="viewsource" style="cursor:pointer;font-size:12px;color:#369 !important;" num="8">纯文本查看</em> <em class="copycode" style="cursor:pointer;font-size:12px;color:#369 !important;" num="8">复制代码</em></div><div><div id="highlighter_946112" class="syntaxhighlighter notranslate csharp"><div class="toolbar"><span><a href="http://bbs.msdn5.com/#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="csharp plain">server.SendToAll(</code><code class="csharp string">"服务端消息:[url=<a href="http://www.xuanjics.com/">http://www.xuanjics.com</a>]www.xuanjics.com[/url] 随机消息:"</code><code class="csharp plain">+Guid.NewGuid().ToString());//直接发送字符串</code></div></div></td></tr></tbody></table></div></div></div><br>
该方法将会对所有连接至服务端的客户端发送消息.如果在发送中客户端下线或发生异常,服务端将维护<strong><font size="3">客户端集合 ClientList</font></strong><br>
<strong><font size="3">ClientList&nbsp;&nbsp;会在客户端接入时添加.如果发生异常等情况会自动删除</font></strong><br>
<div style="padding:15px 0;"><div style="font-size:12px;">[C#] <em class="viewsource" style="cursor:pointer;font-size:12px;color:#369 !important;" num="9">纯文本查看</em> <em class="copycode" style="cursor:pointer;font-size:12px;color:#369 !important;" num="9">复制代码</em></div><div><div id="highlighter_324022" class="syntaxhighlighter notranslate csharp"><div class="toolbar"><span><a href="http://bbs.msdn5.com/#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="csharp plain">SendToClient(IPEndPoint ip, </code><code class="csharp keyword">string</code> <code class="csharp plain">SendData);</code></div></div></td></tr></tbody></table></div></div></div><br>
像单独某位客户发起数据.<br>
当客户端连接时,除去ClientList会自动维护列表外,也会将客户端推送至UI界面,供大家组合自己想要的客户端列表.详细请阅读demo<br>
<div class="quote"><blockquote><strong><font size="4">客户端介绍</font></strong></blockquote></div><br>

<ignore_js_op>

<img id="aimg_23" aid="23" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/none.gif" zoomfile="data/attachment/forum/201410/11/220127bprxmp7t7xhqsmh5.jpg" file="data/attachment/forum/201410/11/220127bprxmp7t7xhqsmh5.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="566" inpost="1" onmouseover="showMenu({&#39;ctrlid&#39;:this.id,&#39;pos&#39;:&#39;12&#39;})">

<div class="tip tip_4 aimg_tip" id="aimg_23_menu" style="position: absolute; display: none" disautofocus="true">
<div class="xs0">
<p><strong>客户端界面.jpg</strong> <em class="xg1">(34.25 KB, 下载次数: 102)</em></p>
<p>
<a href="http://bbs.msdn5.com/forum.php?mod=attachment&amp;aid=MjN8MjE5YzljNDJ8MTUyNDY0NDY5OHwwfDI3&amp;nothumb=yes" target="_blank" class="gj_safe_a">下载附件</a>

</p>

<p class="xg1 y">2014-10-11 22:01 上传</p>

</div>
<div class="tip_horn"></div>
</div>

</ignore_js_op>
<br>
客户端与服务端一样,需要先声明客户端变量,<br>
<div style="padding:15px 0;"><div style="font-size:12px;">[C#] <em class="viewsource" style="cursor:pointer;font-size:12px;color:#369 !important;" num="10">纯文本查看</em> <em class="copycode" style="cursor:pointer;font-size:12px;color:#369 !important;" num="10">复制代码</em></div><div><div id="highlighter_829687" class="syntaxhighlighter notranslate csharp"><div class="toolbar"><span><a href="http://bbs.msdn5.com/#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="csharp plain">SocketHelper.TcpClients client; </code><code class="csharp comments">//声明客户端变量 与服务端一样在窗体加载时初始化. </code></div></div></td></tr></tbody></table></div></div></div><br>
接着初始化推送器,<br>
<div style="padding:15px 0;"><div style="font-size:12px;">[C#] <em class="viewsource" style="cursor:pointer;font-size:12px;color:#369 !important;" num="11">纯文本查看</em> <em class="copycode" style="cursor:pointer;font-size:12px;color:#369 !important;" num="11">复制代码</em></div><div><div id="highlighter_392680" class="syntaxhighlighter notranslate csharp"><div class="toolbar"><span><a href="http://bbs.msdn5.com/#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="csharp plain">SocketHelper.pushSockets = </code><code class="csharp keyword">new</code> <code class="csharp plain">SocketHelper.PushSockets(Rec);</code><code class="csharp comments">//在窗体加载时初始化推送器</code></div></div></td></tr></tbody></table></div></div></div><br>
配置客户端,启动客户端.<br>
<div style="padding:15px 0;"><div style="font-size:12px;">[C#] <em class="viewsource" style="cursor:pointer;font-size:12px;color:#369 !important;" num="12">纯文本查看</em> <em class="copycode" style="cursor:pointer;font-size:12px;color:#369 !important;" num="12">复制代码</em></div><div><div id="highlighter_698416" class="syntaxhighlighter notranslate csharp"><div class="toolbar"><span><a href="http://bbs.msdn5.com/#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="csharp plain">client.InitSocket(ip, </code><code class="csharp keyword">int</code><code class="csharp plain">.Parse(port)); </code><code class="csharp comments">//IP地址支持字符串类型</code></div><div class="line number2 index1 alt1"><code class="csharp spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="csharp plain">client.Start();</code></div></div></td></tr></tbody></table></div></div></div><br>
客户端发送方法,与服务端一致.调用<font color="#ff0000">Send</font>方法.调用Start方法来连接服务器,调用Stop方法断开连接.<strong><font size="4">支持断开后重新连接服务端</font></strong><br>
<br>
<br>
最后来一张运行时的截图吧<br>

<ignore_js_op>

<img id="aimg_24" aid="24" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/none.gif" zoomfile="data/attachment/forum/201410/11/220649ihfrzvdyb2cs8s8b.jpg" file="data/attachment/forum/201410/11/220649ihfrzvdyb2cs8s8b.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" inpost="1" onmouseover="showMenu({&#39;ctrlid&#39;:this.id,&#39;pos&#39;:&#39;12&#39;})">

<div class="tip tip_4 aimg_tip" id="aimg_24_menu" style="position: absolute; display: none" disautofocus="true">
<div class="xs0">
<p><strong>运行截图.jpg</strong> <em class="xg1">(250.42 KB, 下载次数: 99)</em></p>
<p>
<a href="http://bbs.msdn5.com/forum.php?mod=attachment&amp;aid=MjR8YjE5YTI4Y2Z8MTUyNDY0NDY5OHwwfDI3&amp;nothumb=yes" target="_blank" class="gj_safe_a">下载附件</a>

</p>

<p class="xg1 y">2014-10-11 22:06 上传</p>

</div>
<div class="tip_horn"></div>
</div>

</ignore_js_op>
<br>
<br>
Demo + 类库下载地址：<br>
<br>

<ignore_js_op>

<img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/zip.gif" border="0" class="vm" alt="">
<span style="white-space: nowrap" id="attach_25" onmouseover="showMenu({&#39;ctrlid&#39;:this.id,&#39;pos&#39;:&#39;12&#39;})">

<a href="http://bbs.msdn5.com/forum.php?mod=attachment&amp;aid=MjV8YWMzZGFiY2Z8MTUyNDY0NDY5OHwwfDI3" target="_blank">XuanJiSocketDemo_2.6.4.zip</a>

<em class="xg1">(164.76 KB, 下载次数: 3439)</em>
</span>
<div class="tip tip_4" id="attach_25_menu" style="position: absolute; display: none" disautofocus="true">
<div class="tip_c xs0">
<div class="y">2015-10-13 20:58 上传</div>
点击文件名下载附件

</div>
<div class="tip_horn"></div>
</div>

</ignore_js_op>
<br>
<br>
<br>
<br>
<br>
</td></tr></tbody></table>

<div class="ptg mbm mtn">
<a title="Socket" href="http://bbs.msdn5.com/misc.php?mod=tag&amp;id=2" target="_blank">Socket</a>, <a title="玄机" href="http://bbs.msdn5.com/misc.php?mod=tag&amp;id=1" target="_blank">玄机</a></div>

</div>
<div id="comment_203" class="cm">
</div>

<div id="post_rate_div_203"></div>
</div>
</div>

</td></tr>
<tr><td class="plc plm">
<div id="p_btn" class="mtw mbm hm cl">
<div class="tshare cl">
<b>分享到:&nbsp;</b>


<a href="http://bbs.msdn5.com/home.php?mod=spacecp&amp;ac=plugin&amp;id=qqconnect:spacecp&amp;pluginop=share&amp;sh_type=4&amp;thread_id=27" id="k_share_to_qq" title="QQ好友和群" target="_blank"><i><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/qq_share.png" alt="QQ好友和群">QQ好友和群</i></a>
<a href="javascript:void(0);" id="k_qqshare" onclick="postToQzone();" title="QQ空间"><i><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/qzone.gif" alt="QQ空间">QQ空间</i></a>
<a href="javascript:void(0)" onclick="postToWb();" id="k_weiboshare" title="腾讯微博"><i><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/weibo.png" alt="腾讯微博">腾讯微博</i></a>
<a href="javascript:void(0);" onclick="postToPengyou();" id="k_pengyoushare" title="腾讯朋友"><i><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/pengyou.png" alt="腾讯朋友">腾讯朋友</i></a>
<script type="text/javascript">
function postToWb(){
var _t = encodeURI(document.title);
var _url = encodeURIComponent(document.location);
var _appkey = encodeURI("ce7fb946290e4109bdc9175108b6db3a");
var _pic = "http%3A%2F%2Fbbs.msdn5.com%2Fforum.php%3Fmod%3Dimage%26aid%3D22%26size%3D400x400%26key%3D89175198982c38e4%26nocache%3Dyes%26type%3Dfixnone|http%3A%2F%2Fbbs.msdn5.com%2Fforum.php%3Fmod%3Dimage%26aid%3D23%26size%3D400x400%26key%3D85f6435c2107ad1f%26nocache%3Dyes%26type%3Dfixnone|http%3A%2F%2Fbbs.msdn5.com%2Fforum.php%3Fmod%3Dimage%26aid%3D24%26size%3D400x400%26key%3D4cbf55c47e560ea6%26nocache%3Dyes%26type%3Dfixnone";
var _site = encodeURIComponent("C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#");
var _from = 'discuz';
var _u = 'http://v.t.qq.com/share/share.php?url='+_url+'&appkey='+_appkey+'&site='+_site+'&pic='+_pic+'&title='+_t+'&from='+_from;
window.open( _u,'', 'width=700, height=680, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no' );
}
function postToPengyou(){
var _url = encodeURIComponent(document.location.href);
var _site = encodeURIComponent("C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#");
var _title = encodeURIComponent("玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09/2015");
var _pics = "http%3A%2F%2Fbbs.msdn5.com%2Fforum.php%3Fmod%3Dimage%26aid%3D22%26size%3D400x400%26key%3D89175198982c38e4%26nocache%3Dyes%26type%3Dfixnone|http%3A%2F%2Fbbs.msdn5.com%2Fforum.php%3Fmod%3Dimage%26aid%3D23%26size%3D400x400%26key%3D85f6435c2107ad1f%26nocache%3Dyes%26type%3Dfixnone|http%3A%2F%2Fbbs.msdn5.com%2Fforum.php%3Fmod%3Dimage%26aid%3D24%26size%3D400x400%26key%3D4cbf55c47e560ea6%26nocache%3Dyes%26type%3Dfixnone";
var _from = 'discuz';
var _u = 'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?to=pengyou&url='+_url+'&site='+_site+'&title='+_title+'&pics='+_pics+'&from='+_from;
window.open(_u);
}
</script>
	

</div>

<a href="http://bbs.msdn5.com/home.php?mod=spacecp&amp;ac=favorite&amp;type=thread&amp;id=27&amp;formhash=22cbde00" id="k_favorite" onclick="showWindow(this.id, this.href, &#39;get&#39;, 0);" onmouseover="this.title = $(&#39;favoritenumber&#39;).innerHTML + &#39; 人收藏&#39;" title="收藏本帖"><i><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/fav.gif" alt="收藏">收藏<span id="favoritenumber">6</span></i></a>
<a id="recommend_add" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=recommend&amp;do=add&amp;tid=27&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = $(&#39;recommendv_add&#39;).innerHTML + &#39; 人顶&#39;" title="顶一下"><i><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/rec_add.gif" alt="顶">顶<span id="recommendv_add">1</span></i></a>
<a id="recommend_subtract" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=recommend&amp;do=subtract&amp;tid=27&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = $(&#39;recommendv_subtract&#39;).innerHTML + &#39; 人踩&#39;" title="踩一下"><i><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/rec_subtract.gif" alt="踩">踩<span id="recommendv_subtract" style="display:none">0</span></i></a>
</div>
<div class="mtw mbw">
<h3 class="pbm mbm bbda">相关帖子</h3>
<ul class="xl xl2 cl"><li>• <a href="http://bbs.msdn5.com/thread-106-1-1.html" title="玄机论坛C#培训课程-番外篇之C#调用Win32API" target="_blank">玄机论坛C#培训课程-番外篇之C#调用Win32API</a></li>
<li>• <a href="http://bbs.msdn5.com/thread-230-1-1.html" title="玄机论坛中级篇之HTTP协议-03协议分析技巧与实战" target="_blank">玄机论坛中级篇之HTTP协议-03协议分析技巧与实战</a></li>
<li>• <a href="http://bbs.msdn5.com/thread-243-1-1.html" title="玄机论坛番外篇之 数据库技术SqLite" target="_blank">玄机论坛番外篇之 数据库技术SqLite</a></li>
<li>• <a href="http://bbs.msdn5.com/thread-304-1-1.html" title="玄机令 1.0 FAQ" target="_blank">玄机令 1.0 FAQ</a></li>
<li>• <a href="http://bbs.msdn5.com/thread-413-1-1.html" title="玄机论坛中级篇之HTTP协议-手机抓包,模拟器抓包" target="_blank">玄机论坛中级篇之HTTP协议-手机抓包,模拟器抓包</a></li>
<li>• <a href="http://bbs.msdn5.com/thread-493-1-1.html" title="玄机VIPC# 培训 C#基础篇 第一课 C#介绍" target="_blank">玄机VIPC# 培训 C#基础篇 第一课 C#介绍</a></li>
<li>• <a href="http://bbs.msdn5.com/thread-521-1-1.html" title="2015-05-22 委托进阶-读写日志-读写配置文件" target="_blank">2015-05-22 委托进阶-读写日志-读写配置文件</a></li>
<li>• <a href="http://bbs.msdn5.com/thread-535-1-1.html" title="ListView不闪烁秒加载3万数据(双缓冲)" target="_blank">ListView不闪烁秒加载3万数据(双缓冲)</a></li>
<li>• <a href="http://bbs.msdn5.com/thread-1450-1-1.html" title="玄机令-混沌守卫 【玄机论坛C#代码免费混淆工具】" target="_blank">玄机令-混沌守卫 【玄机论坛C#代码免费混淆工具】</a></li>
</ul>
</div>
<div class="sign">玄机论坛-专业的C#交流论坛 交流QQ群: <b>16885911</b><br>
<b><font size="18">帖子内网盘失效后请使用下面地址</font></b><br>
<br>
<b><font size="18"><url>http://bbs.msdn5.com/thread-1218-1-1.html</url></font></b><br>
<b><font size="18"><url>如果失效请联系站长重新分享</url></font></b><br>
</div>
</td>
</tr>
<tr id="_postposition203"></tr>
<tr>
<td class="pls"></td>
<td class="plc" style="overflow:visible;">
<div class="po hin">
<div class="pob cl">
<em>
<a class="fastre" href="http://bbs.msdn5.com/forum.php?mod=post&amp;action=reply&amp;fid=37&amp;tid=27&amp;reppost=203&amp;extra=page%3D1&amp;page=1" onclick="showWindow(&#39;reply&#39;, this.href)">回复</a>
</em>

<p>
<a href="javascript:;" id="mgc_post_203" onmouseover="showMenu(this.id)" class="showmenu" style="display: none;"></a>
<a href="javascript:;" onclick="showWindow(&#39;miscreport203&#39;, &#39;misc.php?mod=report&amp;rtype=post&amp;rid=203&amp;tid=27&amp;fid=37&#39;, &#39;get&#39;, -1);return false;">举报</a>
</p>

<ul id="mgc_post_203_menu" class="p_pop mgcmn" style="display: none;">
</ul>
<script type="text/javascript" reload="1">checkmgcmn('post_203')</script>
</div>
</div>
</td>
</tr>
<tr class="ad">
<td class="pls">
</td>
<td class="plc">
</td>
</tr>
</tbody></table>
<script type="text/javascript" reload="1">
aimgcount[203] = ['22','23','24'];
attachimggroup(203);
var aimgfid = 0;
</script>
</div><div id="post_204"><table id="pid204" class="plhin" summary="pid204" cellspacing="0" cellpadding="0">
<tbody><tr>
<td class="pls" rowspan="2">
<div id="favatar204" class="pls favatar">
 <div class="p_pop blk bui card_gender_" id="userinfo204" style="display: none; ">
<div class="m z">
<div id="userinfo204_ma"></div>
</div>
<div class="i y">
<div>
<strong><a href="http://bbs.msdn5.com/space-uid-55.html" target="_blank" class="xi2">qyhack</a></strong>
<em>当前离线</em>
</div><dl class="cl">
<dt>积分</dt><dd><a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=55&amp;do=profile" target="_blank" class="xi2">261</a></dd>
</dl><div class="imicn">
<a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=55&amp;do=profile" target="_blank" title="查看详细资料"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/userinfo.gif" alt="查看详细资料"></a>
</div>
<div id="avatarfeed"><span id="threadsortswait"></span></div>
</div>
</div>
<div>
<div class="avatar"><a href="http://bbs.msdn5.com/space-uid-55.html" class="avtm" target="_blank"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/avatar(1).php"></a></div>
</div>
<div class="qdsmile"><li><center>TA的每日心情</center><table><tbody><tr><th><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/nu.gif"></th><th><font size="5px">怒</font><br>2017-8-2 14:18</th></tr></tbody></table></li></div><p>签到天数: 3 天</p><p>[LV.2]【绿林好汉】</p></div>
</td>
<td class="plc">
<div class="pi">
<strong>
<a href="http://bbs.msdn5.com/forum.php?mod=redirect&amp;goto=findpost&amp;ptid=27&amp;pid=204" id="postnum204" onclick="setCopy(this.href, &#39;帖子地址复制成功&#39;);return false;">
沙发</a>
</strong>
<div class="pti">
<div class="pdbt">
</div>
<div class="authi">
<img class="authicn vm" id="authicon204" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/online_member.gif">
<a href="http://bbs.msdn5.com/space-uid-55.html" target="_blank" class="xi2">qyhack</a>
<em id="authorposton204">发表于 2014-10-11 22:25:02</em>
<span class="pipe">|</span>
<a href="http://bbs.msdn5.com/forum.php?mod=viewthread&amp;tid=27&amp;page=1&amp;authorid=55" rel="nofollow">只看该作者</a>
</div>
</div>
</div><div class="pct"><div class="pcb">
<div class="t_fsz">
<table cellspacing="0" cellpadding="0"><tbody><tr><td class="t_f" id="postmessage_204">
我要我的沙发</td></tr></tbody></table>


</div>
<div id="comment_204" class="cm">
</div>

<div id="post_rate_div_204"></div>
</div>
</div>

</td></tr>
<tr><td class="plc plm">
<div class="sign">玄机论坛-专业的C#交流论坛 交流QQ群: <b>16885911</b><br>
<b><font size="18">帖子内网盘失效后请使用下面地址</font></b><br>
<br>
<b><font size="18"><url>http://bbs.msdn5.com/thread-1218-1-1.html</url></font></b><br>
<b><font size="18"><url>如果失效请联系站长重新分享</url></font></b><br>
</div>
</td>
</tr>
<tr id="_postposition204"></tr>
<tr>
<td class="pls"></td>
<td class="plc" style="overflow:visible;">
<div class="po hin">
<div class="pob cl">
<em>
<a class="fastre" href="http://bbs.msdn5.com/forum.php?mod=post&amp;action=reply&amp;fid=37&amp;tid=27&amp;repquote=204&amp;extra=page%3D1&amp;page=1" onclick="showWindow(&#39;reply&#39;, this.href)">回复</a>
<a class="replyadd" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=support&amp;tid=27&amp;pid=204&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_support_204&#39;).innerHTML ? $(&#39;review_support_204&#39;).innerHTML : 0) + &#39; 人 支持&#39;">支持 <span id="review_support_204"></span></a>
<a class="replysubtract" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=against&amp;tid=27&amp;pid=204&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_against_204&#39;).innerHTML ? $(&#39;review_against_204&#39;).innerHTML : 0) + &#39; 人 反对&#39;">反对 <span id="review_against_204"></span></a>
</em>

<p>
<a href="javascript:;" id="mgc_post_204" onmouseover="showMenu(this.id)" class="showmenu" style="display: none;"></a>
<a href="javascript:;" onclick="showWindow(&#39;miscreport204&#39;, &#39;misc.php?mod=report&amp;rtype=post&amp;rid=204&amp;tid=27&amp;fid=37&#39;, &#39;get&#39;, -1);return false;">举报</a>
</p>

<ul id="mgc_post_204_menu" class="p_pop mgcmn" style="display: none;">
</ul>
<script type="text/javascript" reload="1">checkmgcmn('post_204')</script>
</div>
</div>
</td>
</tr>
<tr class="ad">
<td class="pls">
</td>
<td class="plc">
</td>
</tr>
</tbody></table>
</div><div id="post_205"><table id="pid205" class="plhin" summary="pid205" cellspacing="0" cellpadding="0">
<tbody><tr>
<td class="pls" rowspan="2">
<div id="favatar205" class="pls favatar">
 <div class="p_pop blk bui card_gender_" id="userinfo205" style="display: none; ">
<div class="m z">
<div id="userinfo205_ma"></div>
</div>
<div class="i y">
<div>
<strong><a href="http://bbs.msdn5.com/space-uid-11.html" target="_blank" class="xi2">君临</a></strong>
<em>当前离线</em>
</div><dl class="cl">
<dt>积分</dt><dd><a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=11&amp;do=profile" target="_blank" class="xi2">1368</a></dd>
</dl><div class="imicn">
<a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=11&amp;do=profile" target="_blank" title="查看详细资料"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/userinfo.gif" alt="查看详细资料"></a>
</div>
<div id="avatarfeed"><span id="threadsortswait"></span></div>
</div>
</div>
<div>
<div class="avatar"><a href="http://bbs.msdn5.com/space-uid-11.html" class="avtm" target="_blank"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/avatar.php"></a></div>
</div>
<div class="qdsmile"><li><center>TA的每日心情</center><table><tbody><tr><th><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/yl.gif"></th><th><font size="5px">慵懒</font><br>2017-12-22 10:34</th></tr></tbody></table></li></div><p>签到天数: 82 天</p><p>[LV.6]【武林翘楚】</p></div>
</td>
<td class="plc">
<div class="pi">
<strong>
<a href="http://bbs.msdn5.com/forum.php?mod=redirect&amp;goto=findpost&amp;ptid=27&amp;pid=205" id="postnum205" onclick="setCopy(this.href, &#39;帖子地址复制成功&#39;);return false;">
板凳</a>
</strong>
<div class="pti">
<div class="pdbt">
</div>
<div class="authi">
<img class="authicn vm" id="authicon205" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/ico_lz.png">
&nbsp;楼主<span class="pipe">|</span>
<a href="http://bbs.msdn5.com/space-uid-11.html" target="_blank" class="xi2">君临</a>
<em id="authorposton205">发表于 2014-10-11 22:25:12</em>
<span class="pipe">|</span>
<a href="http://bbs.msdn5.com/forum.php?mod=viewthread&amp;tid=27&amp;page=1&amp;authorid=11" rel="nofollow">只看该作者</a>
</div>
</div>
</div><div class="pct"><div class="pcb">
<div class="t_fsz">
<table cellspacing="0" cellpadding="0"><tbody><tr><td class="t_f" id="postmessage_205">
我们使用最简单,最通俗易懂的代码,给你更高效,更舒心的体验.</td></tr></tbody></table>


</div>
<div id="comment_205" class="cm">
</div>

<div id="post_rate_div_205"></div>
</div>
</div>

</td></tr>
<tr><td class="plc plm">
<div class="sign">玄机论坛-专业的C#交流论坛 交流QQ群: <b>16885911</b><br>
<b><font size="18">帖子内网盘失效后请使用下面地址</font></b><br>
<br>
<b><font size="18"><url>http://bbs.msdn5.com/thread-1218-1-1.html</url></font></b><br>
<b><font size="18"><url>如果失效请联系站长重新分享</url></font></b><br>
</div>
</td>
</tr>
<tr id="_postposition205"></tr>
<tr>
<td class="pls"></td>
<td class="plc" style="overflow:visible;">
<div class="po hin">
<div class="pob cl">
<em>
<a class="fastre" href="http://bbs.msdn5.com/forum.php?mod=post&amp;action=reply&amp;fid=37&amp;tid=27&amp;repquote=205&amp;extra=page%3D1&amp;page=1" onclick="showWindow(&#39;reply&#39;, this.href)">回复</a>
<a class="replyadd" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=support&amp;tid=27&amp;pid=205&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_support_205&#39;).innerHTML ? $(&#39;review_support_205&#39;).innerHTML : 0) + &#39; 人 支持&#39;">支持 <span id="review_support_205"></span></a>
<a class="replysubtract" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=against&amp;tid=27&amp;pid=205&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_against_205&#39;).innerHTML ? $(&#39;review_against_205&#39;).innerHTML : 0) + &#39; 人 反对&#39;">反对 <span id="review_against_205"></span></a>
</em>

<p>
<a href="javascript:;" id="mgc_post_205" onmouseover="showMenu(this.id)" class="showmenu" style="display: none;"></a>
<a href="javascript:;" onclick="showWindow(&#39;miscreport205&#39;, &#39;misc.php?mod=report&amp;rtype=post&amp;rid=205&amp;tid=27&amp;fid=37&#39;, &#39;get&#39;, -1);return false;">举报</a>
</p>

<ul id="mgc_post_205_menu" class="p_pop mgcmn" style="display: none;">
</ul>
<script type="text/javascript" reload="1">checkmgcmn('post_205')</script>
</div>
</div>
</td>
</tr>
<tr class="ad">
<td class="pls">
</td>
<td class="plc">
</td>
</tr>
</tbody></table>
</div><div id="post_207"><table id="pid207" class="plhin" summary="pid207" cellspacing="0" cellpadding="0">
<tbody><tr>
<td class="pls" rowspan="2">
<div id="favatar207" class="pls favatar">
 <div class="p_pop blk bui card_gender_" id="userinfo207" style="display: none; ">
<div class="m z">
<div id="userinfo207_ma"></div>
</div>
<div class="i y">
<div>
<strong><a href="http://bbs.msdn5.com/space-uid-70.html" target="_blank" class="xi2">ofnhkb1</a></strong>
<em>当前离线</em>
</div><dl class="cl">
<dt>积分</dt><dd><a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=70&amp;do=profile" target="_blank" class="xi2">44</a></dd>
</dl><div class="imicn">
<a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=70&amp;do=profile" target="_blank" title="查看详细资料"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/userinfo.gif" alt="查看详细资料"></a>
</div>
<div id="avatarfeed"><span id="threadsortswait"></span></div>
</div>
</div>
<div>
<div class="avatar"><a href="http://bbs.msdn5.com/space-uid-70.html" class="avtm" target="_blank"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/avatar(2).php"></a></div>
</div>
<p>该用户从未签到</p></div>
</td>
<td class="plc">
<div class="pi">
<strong>
<a href="http://bbs.msdn5.com/forum.php?mod=redirect&amp;goto=findpost&amp;ptid=27&amp;pid=207" id="postnum207" onclick="setCopy(this.href, &#39;帖子地址复制成功&#39;);return false;">
地板</a>
</strong>
<div class="pti">
<div class="pdbt">
</div>
<div class="authi">
<img class="authicn vm" id="authicon207" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/online_member.gif">
<a href="http://bbs.msdn5.com/space-uid-70.html" target="_blank" class="xi2">ofnhkb1</a>
<em id="authorposton207">发表于 2014-10-11 22:27:26</em>
<span class="pipe">|</span>
<a href="http://bbs.msdn5.com/forum.php?mod=viewthread&amp;tid=27&amp;page=1&amp;authorid=70" rel="nofollow">只看该作者</a>
</div>
</div>
</div><div class="pct"><div class="pcb">
<div class="t_fsz">
<table cellspacing="0" cellpadding="0"><tbody><tr><td class="t_f" id="postmessage_207">
强烈支持楼主ing，正好需要这个</td></tr></tbody></table>


</div>
<div id="comment_207" class="cm">
</div>

<div id="post_rate_div_207"></div>
</div>
</div>

</td></tr>
<tr><td class="plc plm">
<div class="sign">玄机论坛-专业的C#交流论坛 交流QQ群: <b>16885911</b><br>
<b><font size="18">帖子内网盘失效后请使用下面地址</font></b><br>
<br>
<b><font size="18"><url>http://bbs.msdn5.com/thread-1218-1-1.html</url></font></b><br>
<b><font size="18"><url>如果失效请联系站长重新分享</url></font></b><br>
</div>
</td>
</tr>
<tr id="_postposition207"></tr>
<tr>
<td class="pls"></td>
<td class="plc" style="overflow:visible;">
<div class="po hin">
<div class="pob cl">
<em>
<a class="fastre" href="http://bbs.msdn5.com/forum.php?mod=post&amp;action=reply&amp;fid=37&amp;tid=27&amp;repquote=207&amp;extra=page%3D1&amp;page=1" onclick="showWindow(&#39;reply&#39;, this.href)">回复</a>
<a class="replyadd" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=support&amp;tid=27&amp;pid=207&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_support_207&#39;).innerHTML ? $(&#39;review_support_207&#39;).innerHTML : 0) + &#39; 人 支持&#39;">支持 <span id="review_support_207"></span></a>
<a class="replysubtract" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=against&amp;tid=27&amp;pid=207&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_against_207&#39;).innerHTML ? $(&#39;review_against_207&#39;).innerHTML : 0) + &#39; 人 反对&#39;">反对 <span id="review_against_207"></span></a>
</em>

<p>
<a href="javascript:;" id="mgc_post_207" onmouseover="showMenu(this.id)" class="showmenu" style="display: none;"></a>
<a href="javascript:;" onclick="showWindow(&#39;miscreport207&#39;, &#39;misc.php?mod=report&amp;rtype=post&amp;rid=207&amp;tid=27&amp;fid=37&#39;, &#39;get&#39;, -1);return false;">举报</a>
</p>

<ul id="mgc_post_207_menu" class="p_pop mgcmn" style="display: none;">
</ul>
<script type="text/javascript" reload="1">checkmgcmn('post_207')</script>
</div>
</div>
</td>
</tr>
<tr class="ad">
<td class="pls">
</td>
<td class="plc">
</td>
</tr>
</tbody></table>
</div><div id="post_210"><table id="pid210" class="plhin" summary="pid210" cellspacing="0" cellpadding="0">
<tbody><tr>
<td class="pls" rowspan="2">
<div id="favatar210" class="pls favatar">
 <div class="p_pop blk bui card_gender_" id="userinfo210" style="display: none; ">
<div class="m z">
<div id="userinfo210_ma"></div>
</div>
<div class="i y">
<div>
<strong><a href="http://bbs.msdn5.com/space-uid-51.html" target="_blank" class="xi2">bacsj118</a></strong>
<em>当前离线</em>
</div><dl class="cl">
<dt>积分</dt><dd><a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=51&amp;do=profile" target="_blank" class="xi2">111</a></dd>
</dl><div class="imicn">
<a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=51&amp;do=profile" target="_blank" title="查看详细资料"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/userinfo.gif" alt="查看详细资料"></a>
</div>
<div id="avatarfeed"><span id="threadsortswait"></span></div>
</div>
</div>
<div>
<div class="avatar"><a href="http://bbs.msdn5.com/space-uid-51.html" class="avtm" target="_blank"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/avatar(3).php"></a></div>
</div>
<p>该用户从未签到</p></div>
</td>
<td class="plc">
<div class="pi">
<strong>
<a href="http://bbs.msdn5.com/forum.php?mod=redirect&amp;goto=findpost&amp;ptid=27&amp;pid=210" id="postnum210" onclick="setCopy(this.href, &#39;帖子地址复制成功&#39;);return false;">
<em>5</em><sup>#</sup></a>
</strong>
<div class="pti">
<div class="pdbt">
</div>
<div class="authi">
<img class="authicn vm" id="authicon210" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/online_member.gif">
<a href="http://bbs.msdn5.com/space-uid-51.html" target="_blank" class="xi2">bacsj118</a>
<em id="authorposton210">发表于 2014-10-11 22:31:03</em>
<span class="pipe">|</span>
<a href="http://bbs.msdn5.com/forum.php?mod=viewthread&amp;tid=27&amp;page=1&amp;authorid=51" rel="nofollow">只看该作者</a>
</div>
</div>
</div><div class="pct"><div class="pcb">
<div class="t_fsz">
<table cellspacing="0" cellpadding="0"><tbody><tr><td class="t_f" id="postmessage_210">
<img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/lol.gif" smilieid="12" border="0" alt=""> 抢沙发支持</td></tr></tbody></table>


</div>
<div id="comment_210" class="cm">
</div>

<div id="post_rate_div_210"></div>
</div>
</div>

</td></tr>
<tr><td class="plc plm">
<div class="sign">玄机论坛-专业的C#交流论坛 交流QQ群: <b>16885911</b><br>
<b><font size="18">帖子内网盘失效后请使用下面地址</font></b><br>
<br>
<b><font size="18"><url>http://bbs.msdn5.com/thread-1218-1-1.html</url></font></b><br>
<b><font size="18"><url>如果失效请联系站长重新分享</url></font></b><br>
</div>
</td>
</tr>
<tr id="_postposition210"></tr>
<tr>
<td class="pls"></td>
<td class="plc" style="overflow:visible;">
<div class="po hin">
<div class="pob cl">
<em>
<a class="fastre" href="http://bbs.msdn5.com/forum.php?mod=post&amp;action=reply&amp;fid=37&amp;tid=27&amp;repquote=210&amp;extra=page%3D1&amp;page=1" onclick="showWindow(&#39;reply&#39;, this.href)">回复</a>
<a class="replyadd" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=support&amp;tid=27&amp;pid=210&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_support_210&#39;).innerHTML ? $(&#39;review_support_210&#39;).innerHTML : 0) + &#39; 人 支持&#39;">支持 <span id="review_support_210"></span></a>
<a class="replysubtract" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=against&amp;tid=27&amp;pid=210&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_against_210&#39;).innerHTML ? $(&#39;review_against_210&#39;).innerHTML : 0) + &#39; 人 反对&#39;">反对 <span id="review_against_210"></span></a>
</em>

<p>
<a href="javascript:;" id="mgc_post_210" onmouseover="showMenu(this.id)" class="showmenu" style="display: none;"></a>
<a href="javascript:;" onclick="showWindow(&#39;miscreport210&#39;, &#39;misc.php?mod=report&amp;rtype=post&amp;rid=210&amp;tid=27&amp;fid=37&#39;, &#39;get&#39;, -1);return false;">举报</a>
</p>

<ul id="mgc_post_210_menu" class="p_pop mgcmn" style="display: none;">
</ul>
<script type="text/javascript" reload="1">checkmgcmn('post_210')</script>
</div>
</div>
</td>
</tr>
<tr class="ad">
<td class="pls">
</td>
<td class="plc">
</td>
</tr>
</tbody></table>
</div><div id="post_211"><table id="pid211" class="plhin" summary="pid211" cellspacing="0" cellpadding="0">
<tbody><tr>
<td class="pls" rowspan="2">
<div id="favatar211" class="pls favatar">
 <div class="p_pop blk bui card_gender_" id="userinfo211" style="display: none; ">
<div class="m z">
<div id="userinfo211_ma"></div>
</div>
<div class="i y">
<div>
<strong><a href="http://bbs.msdn5.com/space-uid-3.html" target="_blank" class="xi2">佐佑</a></strong>
<em>当前离线</em>
</div><dl class="cl">
<dt>积分</dt><dd><a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=3&amp;do=profile" target="_blank" class="xi2">273</a></dd>
</dl><div class="imicn">
<a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=3&amp;do=profile" target="_blank" title="查看详细资料"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/userinfo.gif" alt="查看详细资料"></a>
</div>
<div id="avatarfeed"><span id="threadsortswait"></span></div>
</div>
</div>
<div>
<div class="avatar"><a href="http://bbs.msdn5.com/space-uid-3.html" class="avtm" target="_blank"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/avatar(4).php"></a></div>
</div>
<div class="qdsmile"><li><center>TA的每日心情</center><table><tbody><tr><th><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/wl.gif"></th><th><font size="5px">无聊</font><br>2018-3-16 15:14</th></tr></tbody></table></li></div><p>签到天数: 13 天</p><p>[LV.3]【仗剑天涯】</p></div>
</td>
<td class="plc">
<div class="pi">
<strong>
<a href="http://bbs.msdn5.com/forum.php?mod=redirect&amp;goto=findpost&amp;ptid=27&amp;pid=211" id="postnum211" onclick="setCopy(this.href, &#39;帖子地址复制成功&#39;);return false;">
<em>6</em><sup>#</sup></a>
</strong>
<div class="pti">
<div class="pdbt">
</div>
<div class="authi">
<img class="authicn vm" id="authicon211" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/online_admin.gif">
<a href="http://bbs.msdn5.com/space-uid-3.html" target="_blank" class="xi2">佐佑</a>
<em id="authorposton211">发表于 2014-10-11 22:43:19</em>
<span class="pipe">|</span>
<a href="http://bbs.msdn5.com/forum.php?mod=viewthread&amp;tid=27&amp;page=1&amp;authorid=3" rel="nofollow">只看该作者</a>
</div>
</div>
</div><div class="pct"><div class="pcb">
<div class="t_fsz">
<table cellspacing="0" cellpadding="0"><tbody><tr><td class="t_f" id="postmessage_211">
使用遇到问题请到有问必答版块提问<img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/loveliness.gif" smilieid="13" border="0" alt=""></td></tr></tbody></table>


</div>
<div id="comment_211" class="cm">
</div>

<div id="post_rate_div_211"></div>
</div>
</div>

</td></tr>
<tr><td class="plc plm">
<div class="sign">玄机论坛-专业的C#交流论坛 交流QQ群: <b>16885911</b><br>
<b><font size="18">帖子内网盘失效后请使用下面地址</font></b><br>
<br>
<b><font size="18"><url>http://bbs.msdn5.com/thread-1218-1-1.html</url></font></b><br>
<b><font size="18"><url>如果失效请联系站长重新分享</url></font></b><br>
</div>
</td>
</tr>
<tr id="_postposition211"></tr>
<tr>
<td class="pls"></td>
<td class="plc" style="overflow:visible;">
<div class="po hin">
<div class="pob cl">
<em>
<a class="fastre" href="http://bbs.msdn5.com/forum.php?mod=post&amp;action=reply&amp;fid=37&amp;tid=27&amp;repquote=211&amp;extra=page%3D1&amp;page=1" onclick="showWindow(&#39;reply&#39;, this.href)">回复</a>
<a class="replyadd" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=support&amp;tid=27&amp;pid=211&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_support_211&#39;).innerHTML ? $(&#39;review_support_211&#39;).innerHTML : 0) + &#39; 人 支持&#39;">支持 <span id="review_support_211"></span></a>
<a class="replysubtract" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=against&amp;tid=27&amp;pid=211&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_against_211&#39;).innerHTML ? $(&#39;review_against_211&#39;).innerHTML : 0) + &#39; 人 反对&#39;">反对 <span id="review_against_211"></span></a>
</em>

<p>
<a href="javascript:;" id="mgc_post_211" onmouseover="showMenu(this.id)" class="showmenu" style="display: none;"></a>
<a href="javascript:;" onclick="showWindow(&#39;miscreport211&#39;, &#39;misc.php?mod=report&amp;rtype=post&amp;rid=211&amp;tid=27&amp;fid=37&#39;, &#39;get&#39;, -1);return false;">举报</a>
</p>

<ul id="mgc_post_211_menu" class="p_pop mgcmn" style="display: none;">
</ul>
<script type="text/javascript" reload="1">checkmgcmn('post_211')</script>
</div>
</div>
</td>
</tr>
<tr class="ad">
<td class="pls">
</td>
<td class="plc">
</td>
</tr>
</tbody></table>
</div><div id="post_236"><table id="pid236" class="plhin" summary="pid236" cellspacing="0" cellpadding="0">
<tbody><tr>
<td class="pls" rowspan="2">
<div id="favatar236" class="pls favatar">
 <div class="p_pop blk bui card_gender_" id="userinfo236" style="display: none; ">
<div class="m z">
<div id="userinfo236_ma"></div>
</div>
<div class="i y">
<div>
<strong><a href="http://bbs.msdn5.com/space-uid-120.html" target="_blank" class="xi2">mswang2005</a></strong>
<em>当前离线</em>
</div><dl class="cl">
<dt>积分</dt><dd><a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=120&amp;do=profile" target="_blank" class="xi2">5</a></dd>
</dl><div class="imicn">
<a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=120&amp;do=profile" target="_blank" title="查看详细资料"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/userinfo.gif" alt="查看详细资料"></a>
</div>
<div id="avatarfeed"><span id="threadsortswait"></span></div>
</div>
</div>
<div>
<div class="avatar"><a href="http://bbs.msdn5.com/space-uid-120.html" class="avtm" target="_blank"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/avatar(5).php"></a></div>
</div>
<p>该用户从未签到</p></div>
</td>
<td class="plc">
<div class="pi">
<strong>
<a href="http://bbs.msdn5.com/forum.php?mod=redirect&amp;goto=findpost&amp;ptid=27&amp;pid=236" id="postnum236" onclick="setCopy(this.href, &#39;帖子地址复制成功&#39;);return false;">
<em>7</em><sup>#</sup></a>
</strong>
<div class="pti">
<div class="pdbt">
</div>
<div class="authi">
<img class="authicn vm" id="authicon236" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/online_member.gif">
<a href="http://bbs.msdn5.com/space-uid-120.html" target="_blank" class="xi2">mswang2005</a>
<em id="authorposton236">发表于 2014-10-12 19:19:26</em>
<span class="pipe">|</span>
<a href="http://bbs.msdn5.com/forum.php?mod=viewthread&amp;tid=27&amp;page=1&amp;authorid=120" rel="nofollow">只看该作者</a>
</div>
</div>
</div><div class="pct"><div class="pcb">
<div class="t_fsz">
<table cellspacing="0" cellpadding="0"><tbody><tr><td class="t_f" id="postmessage_236">
太好了，太感谢了</td></tr></tbody></table>


</div>
<div id="comment_236" class="cm">
</div>

<div id="post_rate_div_236"></div>
</div>
</div>

</td></tr>
<tr><td class="plc plm">
<div class="sign">玄机论坛-专业的C#交流论坛 交流QQ群: <b>16885911</b><br>
<b><font size="18">帖子内网盘失效后请使用下面地址</font></b><br>
<br>
<b><font size="18"><url>http://bbs.msdn5.com/thread-1218-1-1.html</url></font></b><br>
<b><font size="18"><url>如果失效请联系站长重新分享</url></font></b><br>
</div>
</td>
</tr>
<tr id="_postposition236"></tr>
<tr>
<td class="pls"></td>
<td class="plc" style="overflow:visible;">
<div class="po hin">
<div class="pob cl">
<em>
<a class="fastre" href="http://bbs.msdn5.com/forum.php?mod=post&amp;action=reply&amp;fid=37&amp;tid=27&amp;repquote=236&amp;extra=page%3D1&amp;page=1" onclick="showWindow(&#39;reply&#39;, this.href)">回复</a>
<a class="replyadd" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=support&amp;tid=27&amp;pid=236&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_support_236&#39;).innerHTML ? $(&#39;review_support_236&#39;).innerHTML : 0) + &#39; 人 支持&#39;">支持 <span id="review_support_236"></span></a>
<a class="replysubtract" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=against&amp;tid=27&amp;pid=236&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_against_236&#39;).innerHTML ? $(&#39;review_against_236&#39;).innerHTML : 0) + &#39; 人 反对&#39;">反对 <span id="review_against_236"></span></a>
</em>

<p>
<a href="javascript:;" id="mgc_post_236" onmouseover="showMenu(this.id)" class="showmenu" style="display: none;"></a>
<a href="javascript:;" onclick="showWindow(&#39;miscreport236&#39;, &#39;misc.php?mod=report&amp;rtype=post&amp;rid=236&amp;tid=27&amp;fid=37&#39;, &#39;get&#39;, -1);return false;">举报</a>
</p>

<ul id="mgc_post_236_menu" class="p_pop mgcmn" style="display: none;">
</ul>
<script type="text/javascript" reload="1">checkmgcmn('post_236')</script>
</div>
</div>
</td>
</tr>
<tr class="ad">
<td class="pls">
</td>
<td class="plc">
</td>
</tr>
</tbody></table>
</div><div id="post_257"><table id="pid257" class="plhin" summary="pid257" cellspacing="0" cellpadding="0">
<tbody><tr>
<td class="pls" rowspan="2">
<div id="favatar257" class="pls favatar">
 <div class="p_pop blk bui card_gender_" id="userinfo257" style="display: none; ">
<div class="m z">
<div id="userinfo257_ma"></div>
</div>
<div class="i y">
<div>
<strong><a href="http://bbs.msdn5.com/space-uid-15.html" target="_blank" class="xi2" style="color: #FF0000">inghot</a></strong>
<em>当前离线</em>
</div><dl class="cl">
<dt>积分</dt><dd><a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=15&amp;do=profile" target="_blank" class="xi2">264</a></dd>
</dl><div class="imicn">
<a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=15&amp;do=profile" target="_blank" title="查看详细资料"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/userinfo.gif" alt="查看详细资料"></a>
</div>
<div id="avatarfeed"><span id="threadsortswait"></span></div>
</div>
</div>
<div>
<div class="avatar"><a href="http://bbs.msdn5.com/space-uid-15.html" class="avtm" target="_blank"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/avatar(6).php"></a></div>
</div>
<div class="qdsmile"><li><center>TA的每日心情</center><table><tbody><tr><th><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/yl.gif"></th><th><font size="5px">慵懒</font><br>2017-3-7 10:46</th></tr></tbody></table></li></div><p>签到天数: 4 天</p><p>[LV.2]【绿林好汉】</p></div>
</td>
<td class="plc">
<div class="pi">
<strong>
<a href="http://bbs.msdn5.com/forum.php?mod=redirect&amp;goto=findpost&amp;ptid=27&amp;pid=257" id="postnum257" onclick="setCopy(this.href, &#39;帖子地址复制成功&#39;);return false;">
<em>8</em><sup>#</sup></a>
</strong>
<div class="pti">
<div class="pdbt">
</div>
<div class="authi">
<img class="authicn vm" id="authicon257" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/online_member.gif">
<a href="http://bbs.msdn5.com/space-uid-15.html" target="_blank" class="xi2">inghot</a>
<em id="authorposton257">发表于 2014-10-13 11:48:42</em>
<span class="pipe">|</span>
<a href="http://bbs.msdn5.com/forum.php?mod=viewthread&amp;tid=27&amp;page=1&amp;authorid=15" rel="nofollow">只看该作者</a>
</div>
</div>
</div><div class="pct"><div class="pcb">
<div class="t_fsz">
<table cellspacing="0" cellpadding="0"><tbody><tr><td class="t_f" id="postmessage_257">
喔，这样太好了。</td></tr></tbody></table>


</div>
<div id="comment_257" class="cm">
</div>

<div id="post_rate_div_257"></div>
</div>
</div>

</td></tr>
<tr><td class="plc plm">
<div class="sign">玄机论坛-专业的C#交流论坛 交流QQ群: <b>16885911</b><br>
<b><font size="18">帖子内网盘失效后请使用下面地址</font></b><br>
<br>
<b><font size="18"><url>http://bbs.msdn5.com/thread-1218-1-1.html</url></font></b><br>
<b><font size="18"><url>如果失效请联系站长重新分享</url></font></b><br>
</div>
</td>
</tr>
<tr id="_postposition257"></tr>
<tr>
<td class="pls"></td>
<td class="plc" style="overflow:visible;">
<div class="po hin">
<div class="pob cl">
<em>
<a class="fastre" href="http://bbs.msdn5.com/forum.php?mod=post&amp;action=reply&amp;fid=37&amp;tid=27&amp;repquote=257&amp;extra=page%3D1&amp;page=1" onclick="showWindow(&#39;reply&#39;, this.href)">回复</a>
<a class="replyadd" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=support&amp;tid=27&amp;pid=257&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_support_257&#39;).innerHTML ? $(&#39;review_support_257&#39;).innerHTML : 0) + &#39; 人 支持&#39;">支持 <span id="review_support_257"></span></a>
<a class="replysubtract" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=against&amp;tid=27&amp;pid=257&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_against_257&#39;).innerHTML ? $(&#39;review_against_257&#39;).innerHTML : 0) + &#39; 人 反对&#39;">反对 <span id="review_against_257"></span></a>
</em>

<p>
<a href="javascript:;" id="mgc_post_257" onmouseover="showMenu(this.id)" class="showmenu" style="display: none;"></a>
<a href="javascript:;" onclick="showWindow(&#39;miscreport257&#39;, &#39;misc.php?mod=report&amp;rtype=post&amp;rid=257&amp;tid=27&amp;fid=37&#39;, &#39;get&#39;, -1);return false;">举报</a>
</p>

<ul id="mgc_post_257_menu" class="p_pop mgcmn" style="display: none;">
</ul>
<script type="text/javascript" reload="1">checkmgcmn('post_257')</script>
</div>
</div>
</td>
</tr>
<tr class="ad">
<td class="pls">
</td>
<td class="plc">
</td>
</tr>
</tbody></table>
</div><div id="post_265"><table id="pid265" class="plhin" summary="pid265" cellspacing="0" cellpadding="0">
<tbody><tr>
<td class="pls" rowspan="2">
<div id="favatar265" class="pls favatar">
 <div class="p_pop blk bui card_gender_" id="userinfo265" style="display: none; ">
<div class="m z">
<div id="userinfo265_ma"></div>
</div>
<div class="i y">
<div>
<strong><a href="http://bbs.msdn5.com/space-uid-90.html" target="_blank" class="xi2">乔克斯</a></strong>
<em>当前离线</em>
</div><dl class="cl">
<dt>积分</dt><dd><a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=90&amp;do=profile" target="_blank" class="xi2">74</a></dd>
</dl><div class="imicn">
<a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=90&amp;do=profile" target="_blank" title="查看详细资料"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/userinfo.gif" alt="查看详细资料"></a>
</div>
<div id="avatarfeed"><span id="threadsortswait"></span></div>
</div>
</div>
<div>
<div class="avatar"><a href="http://bbs.msdn5.com/space-uid-90.html" class="avtm" target="_blank"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/avatar(7).php"></a></div>
</div>
<p>该用户从未签到</p></div>
</td>
<td class="plc">
<div class="pi">
<strong>
<a href="http://bbs.msdn5.com/forum.php?mod=redirect&amp;goto=findpost&amp;ptid=27&amp;pid=265" id="postnum265" onclick="setCopy(this.href, &#39;帖子地址复制成功&#39;);return false;">
<em>9</em><sup>#</sup></a>
</strong>
<div class="pti">
<div class="pdbt">
</div>
<div class="authi">
<img class="authicn vm" id="authicon265" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/online_member.gif">
<a href="http://bbs.msdn5.com/space-uid-90.html" target="_blank" class="xi2">乔克斯</a>
<em id="authorposton265">发表于 2014-10-13 14:29:01</em>
<span class="pipe">|</span>
<a href="http://bbs.msdn5.com/forum.php?mod=viewthread&amp;tid=27&amp;page=1&amp;authorid=90" rel="nofollow">只看该作者</a>
</div>
</div>
</div><div class="pct"><div class="pcb">
<div class="t_fsz">
<table cellspacing="0" cellpadding="0"><tbody><tr><td class="t_f" id="postmessage_265">
我来啦&gt;A&lt;看看顶顶。。啪啪啪</td></tr></tbody></table>


</div>
<div id="comment_265" class="cm">
</div>

<div id="post_rate_div_265"></div>
</div>
</div>

</td></tr>
<tr><td class="plc plm">
<div class="sign">玄机论坛-专业的C#交流论坛 交流QQ群: <b>16885911</b><br>
<b><font size="18">帖子内网盘失效后请使用下面地址</font></b><br>
<br>
<b><font size="18"><url>http://bbs.msdn5.com/thread-1218-1-1.html</url></font></b><br>
<b><font size="18"><url>如果失效请联系站长重新分享</url></font></b><br>
</div>
</td>
</tr>
<tr id="_postposition265"></tr>
<tr>
<td class="pls"></td>
<td class="plc" style="overflow:visible;">
<div class="po hin">
<div class="pob cl">
<em>
<a class="fastre" href="http://bbs.msdn5.com/forum.php?mod=post&amp;action=reply&amp;fid=37&amp;tid=27&amp;repquote=265&amp;extra=page%3D1&amp;page=1" onclick="showWindow(&#39;reply&#39;, this.href)">回复</a>
<a class="replyadd" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=support&amp;tid=27&amp;pid=265&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_support_265&#39;).innerHTML ? $(&#39;review_support_265&#39;).innerHTML : 0) + &#39; 人 支持&#39;">支持 <span id="review_support_265"></span></a>
<a class="replysubtract" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=against&amp;tid=27&amp;pid=265&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_against_265&#39;).innerHTML ? $(&#39;review_against_265&#39;).innerHTML : 0) + &#39; 人 反对&#39;">反对 <span id="review_against_265"></span></a>
</em>

<p>
<a href="javascript:;" id="mgc_post_265" onmouseover="showMenu(this.id)" class="showmenu" style="display: none;"></a>
<a href="javascript:;" onclick="showWindow(&#39;miscreport265&#39;, &#39;misc.php?mod=report&amp;rtype=post&amp;rid=265&amp;tid=27&amp;fid=37&#39;, &#39;get&#39;, -1);return false;">举报</a>
</p>

<ul id="mgc_post_265_menu" class="p_pop mgcmn" style="display: none;">
</ul>
<script type="text/javascript" reload="1">checkmgcmn('post_265')</script>
</div>
</div>
</td>
</tr>
<tr class="ad">
<td class="pls">
</td>
<td class="plc">
</td>
</tr>
</tbody></table>
</div><div id="post_267"><table id="pid267" class="plhin" summary="pid267" cellspacing="0" cellpadding="0">
<tbody><tr>
<td class="pls" rowspan="2">
<div id="favatar267" class="pls favatar">
 <div class="p_pop blk bui card_gender_" id="userinfo267" style="display: none; ">
<div class="m z">
<div id="userinfo267_ma"></div>
</div>
<div class="i y">
<div>
<strong><a href="http://bbs.msdn5.com/space-uid-88.html" target="_blank" class="xi2">aiouluosi</a></strong>
<em>当前离线</em>
</div><dl class="cl">
<dt>积分</dt><dd><a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=88&amp;do=profile" target="_blank" class="xi2">8</a></dd>
</dl><div class="imicn">
<a href="http://bbs.msdn5.com/home.php?mod=space&amp;uid=88&amp;do=profile" target="_blank" title="查看详细资料"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/userinfo.gif" alt="查看详细资料"></a>
</div>
<div id="avatarfeed"><span id="threadsortswait"></span></div>
</div>
</div>
<div>
<div class="avatar"><a href="http://bbs.msdn5.com/space-uid-88.html" class="avtm" target="_blank"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/avatar(8).php"></a></div>
</div>
<p>该用户从未签到</p></div>
</td>
<td class="plc">
<div class="pi">
<strong>
<a href="http://bbs.msdn5.com/forum.php?mod=redirect&amp;goto=findpost&amp;ptid=27&amp;pid=267" id="postnum267" onclick="setCopy(this.href, &#39;帖子地址复制成功&#39;);return false;">
<em>10</em><sup>#</sup></a>
</strong>
<div class="pti">
<div class="pdbt">
</div>
<div class="authi">
<img class="authicn vm" id="authicon267" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/online_member.gif">
<a href="http://bbs.msdn5.com/space-uid-88.html" target="_blank" class="xi2">aiouluosi</a>
<em id="authorposton267">发表于 2014-10-13 14:59:54</em>
<span class="pipe">|</span>
<a href="http://bbs.msdn5.com/forum.php?mod=viewthread&amp;tid=27&amp;page=1&amp;authorid=88" rel="nofollow">只看该作者</a>
</div>
</div>
</div><div class="pct"><div class="pcb">
<div class="t_fsz">
<table cellspacing="0" cellpadding="0"><tbody><tr><td class="t_f" id="postmessage_267">
<img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/smile.gif" smilieid="1" border="0" alt="">不错 值得学习！</td></tr></tbody></table>


</div>
<div id="comment_267" class="cm">
</div>

<div id="post_rate_div_267"></div>
</div>
</div>

</td></tr>
<tr><td class="plc plm">
<div class="sign">玄机论坛-专业的C#交流论坛 交流QQ群: <b>16885911</b><br>
<b><font size="18">帖子内网盘失效后请使用下面地址</font></b><br>
<br>
<b><font size="18"><url>http://bbs.msdn5.com/thread-1218-1-1.html</url></font></b><br>
<b><font size="18"><url>如果失效请联系站长重新分享</url></font></b><br>
</div>
</td>
</tr>
<tr id="_postposition267"></tr>
<tr>
<td class="pls"></td>
<td class="plc" style="overflow:visible;">
<div class="po hin">
<div class="pob cl">
<em>
<a class="fastre" href="http://bbs.msdn5.com/forum.php?mod=post&amp;action=reply&amp;fid=37&amp;tid=27&amp;repquote=267&amp;extra=page%3D1&amp;page=1" onclick="showWindow(&#39;reply&#39;, this.href)">回复</a>
<a class="replyadd" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=support&amp;tid=27&amp;pid=267&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_support_267&#39;).innerHTML ? $(&#39;review_support_267&#39;).innerHTML : 0) + &#39; 人 支持&#39;">支持 <span id="review_support_267"></span></a>
<a class="replysubtract" href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=postreview&amp;do=against&amp;tid=27&amp;pid=267&amp;hash=22cbde00" onclick="showWindow(&#39;login&#39;, this.href)" onmouseover="this.title = ($(&#39;review_against_267&#39;).innerHTML ? $(&#39;review_against_267&#39;).innerHTML : 0) + &#39; 人 反对&#39;">反对 <span id="review_against_267"></span></a>
</em>

<p>
<a href="javascript:;" id="mgc_post_267" onmouseover="showMenu(this.id)" class="showmenu" style="display: none;"></a>
<a href="javascript:;" onclick="showWindow(&#39;miscreport267&#39;, &#39;misc.php?mod=report&amp;rtype=post&amp;rid=267&amp;tid=27&amp;fid=37&#39;, &#39;get&#39;, -1);return false;">举报</a>
</p>

<ul id="mgc_post_267_menu" class="p_pop mgcmn" style="display: none;">
</ul>
<script type="text/javascript" reload="1">checkmgcmn('post_267')</script>
</div>
</div>
</td>
</tr>
<tr class="ad">
<td class="pls">
</td>
<td class="plc">
</td>
</tr>
</tbody></table>
</div><div id="postlistreply" class="pl"><div id="post_new" class="viewthread_table" style="display: none"></div></div>
</div>


<form method="post" autocomplete="off" name="modactions" id="modactions">
<input type="hidden" name="formhash" value="22cbde00">
<input type="hidden" name="optgroup">
<input type="hidden" name="operation">
<input type="hidden" name="listextra" value="page%3D1">
<input type="hidden" name="page" value="1">
</form>


<div class="pgbtn"><a href="http://bbs.msdn5.com/thread-27-2-1.html" hidefocus="true" class="bm_h">下一页 »</a></div>

<div class="pgs mtm mbm cl">
<div class="pg"><strong>1</strong><a href="http://bbs.msdn5.com/thread-27-2-1.html">2</a><a href="http://bbs.msdn5.com/thread-27-3-1.html">3</a><a href="http://bbs.msdn5.com/thread-27-4-1.html">4</a><a href="http://bbs.msdn5.com/thread-27-5-1.html">5</a><a href="http://bbs.msdn5.com/thread-27-6-1.html">6</a><a href="http://bbs.msdn5.com/thread-27-7-1.html">7</a><a href="http://bbs.msdn5.com/thread-27-8-1.html">8</a><a href="http://bbs.msdn5.com/thread-27-9-1.html">9</a><a href="http://bbs.msdn5.com/thread-27-10-1.html">10</a><a href="http://bbs.msdn5.com/thread-27-21-1.html" class="last">... 21</a><label><input type="text" name="custompage" class="px" size="2" title="输入页码，按回车快速跳转" value="1" onkeydown="if(event.keyCode==13) {window.location=&#39;forum.php?mod=viewthread&amp;tid=27&amp;extra=page%3D1&amp;page=&#39;+this.value;; doane(event);}"><span title="共 21 页"> / 21 页</span></label><a href="http://bbs.msdn5.com/thread-27-2-1.html" class="nxt">下一页</a></div><span class="pgb y"><a href="http://bbs.msdn5.com/forum-37-1.html">返回列表</a></span>
<a id="newspecialtmp" onmouseover="$(&#39;newspecial&#39;).id = &#39;newspecialtmp&#39;;this.id = &#39;newspecial&#39;;showMenu({&#39;ctrlid&#39;:this.id})" onclick="showWindow(&#39;newthread&#39;, &#39;forum.php?mod=post&amp;action=newthread&amp;fid=37&#39;)" href="javascript:;" title="发新帖"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/pn_post.png" alt="发新帖"></a>
</div>

<!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]-->
<script type="text/javascript">
var postminchars = parseInt('10');
var postmaxchars = parseInt('60000');
var disablepostctrl = parseInt('0');
</script>

<div id="f_pst" class="pl bm bmw">
<form method="post" autocomplete="off" id="fastpostform" action="http://bbs.msdn5.com/forum.php?mod=post&amp;action=reply&amp;fid=37&amp;tid=27&amp;extra=page%3D1&amp;replysubmit=yes&amp;infloat=yes&amp;handlekey=fastpost" onsubmit="return fastpostvalidate(this)">
<table cellspacing="0" cellpadding="0">
<tbody><tr>
<td class="pls">
</td>
<td class="plc">
    <script type="text/javascript">
        function move_geetest_before_submit() {
            var gt_submitBtn = $('fastpostsubmit');
            var geetest = $('gt_viewthread_fastpost_content');
            gt_submitBtn.parentNode.insertBefore(geetest, gt_submitBtn);
            //_attachEvent(gt_submitBtn, 'click', GeeTestWidget.call_refresh);
        }

        _attachEvent(window, 'load', move_geetest_before_submit);


        function get_button(){
            var b = [];
            var buttons = document.getElementsByTagName("button")
            for(var i=0; i<buttons.length; i++){
                var button = buttons[i];
                if(button.type == "submit"){
                    b.push(button)
                }
            }   
            return b;           
        }
        

        window.gt_custom_ajax = function (status, $) {
            function refresh(){
                console.log("click");
                setTimeout(function(){
                    $(".gt_refresh_button").click();
                },3000);
            }
            if(status) {
              var buttons = get_button();
              for(var i in buttons){
                _attachEvent(buttons[i], 'click', refresh);
              }
              
            }
         }
     </script>
<span id="fastpostreturn"></span>


<div class="cl">
<div id="fastsmiliesdiv" class="y"><div id="fastsmiliesdiv_data"><div id="fastsmilies"></div></div></div><div class="hasfsl" id="fastposteditor">
<div class="tedt mtn">
<div class="bar">
<span class="y">
<a href="http://bbs.msdn5.com/forum.php?mod=post&amp;action=reply&amp;fid=37&amp;tid=27" onclick="return switchAdvanceMode(this.href)">高级模式</a>
</span><script src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/seditor.js.download" type="text/javascript"></script>
<div class="fpd">
<a href="javascript:;" title="文字加粗" class="fbld">B</a>
<a href="javascript:;" title="设置文字颜色" class="fclr" id="fastpostforecolor">Color</a>
<a id="fastpostimg" href="javascript:;" title="图片" class="fmg">Image</a>
<a id="fastposturl" href="javascript:;" title="添加链接" class="flnk">Link</a>
<a id="fastpostquote" href="javascript:;" title="引用" class="fqt">Quote</a>
<a id="fastpostcode" href="javascript:;" title="代码" class="fcd">Code</a>
<a href="javascript:;" class="fsml" id="fastpostsml">Smilies</a>
</div></div>
<div class="area">
<div class="pt hm">
您需要登录后才可以回帖 <a href="http://bbs.msdn5.com/member.php?mod=logging&amp;action=login" onclick="showWindow(&#39;login&#39;, this.href)" class="xi2">登录</a> | <a href="http://bbs.msdn5.com/member.php?mod=register" class="xi2">立即注册</a>


<a href="http://bbs.msdn5.com/connect.php?mod=login&amp;op=init&amp;referer=forum.php%3Fmod%3Dviewthread%26tid%3D27%26extra%3Dpage%253D1%26page%3D1&amp;statfrom=login" target="_top" rel="nofollow"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/qq_login.gif" class="vm"></a>

</div>
</div>
</div>
</div>
</div>
<div id="seccheck_fastpost">
</div>


<input type="hidden" name="formhash" value="22cbde00">
<input type="hidden" name="usesig" value="">
<input type="hidden" name="subject" value="  ">
<p class="ptm pnpost">
<a href="http://bbs.msdn5.com/home.php?mod=spacecp&amp;ac=credit&amp;op=rule&amp;fid=37" class="y" target="_blank">本版积分规则</a>
<div id="gt_viewthread_fastpost_content" class="" style="margin:10px  0px 10px  0px "><table><tbody><tr><th style="width:80px;"><div id="gt_tx">*滑动验证:</div></th><td><script type="text/javascript" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/get(2).php"></script></td></tr></tbody></table></div><button type="button" onclick="showWindow(&#39;login&#39;, &#39;member.php?mod=logging&amp;action=login&amp;guestmessage=yes&#39;)" onmouseover="checkpostrule(&#39;seccheck_fastpost&#39;, &#39;ac=reply&#39;);this.onmouseover=null" name="replysubmit" id="fastpostsubmit" class="pn pnc vm" value="replysubmit" tabindex="5"><strong>发表回复</strong></button>
<label for="fastpostrefresh"><input id="fastpostrefresh" type="checkbox" class="pc">回帖后跳转到最后一页</label>
<script type="text/javascript">if(getcookie('fastpostrefresh') == 1) {$('fastpostrefresh').checked=true;}</script>
</p>
</td>
</tr>
</tbody></table>
</form>
</div>

<script type="text/javascript">
var connect_qzone_share_url = '';
var connect_weibo_share_url = '';
var connect_thread_info = {
thread_url: 'http://bbs.msdn5.com/thread-27-1-1.html',
thread_id: '27',
post_id: '',
forum_id: '37',
author_id: '',
author: ''
};

connect_autoshare = '';
connect_isbind = '';
if(connect_autoshare == 1 && connect_isbind) {
_attachEvent(window, 'load', function(){
connect_share(connect_weibo_share_url, connect_openid);
});
}
</script>


<script type="text/javascript">
new lazyload();
</script>
<script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, 0, 1, 'forum.php?mod=viewthread&tid=27', 1);}</script>
</div>

<div class="wp mtn">
<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
</div>

<script type="text/javascript">
function succeedhandle_followmod(url, msg, values) {
var fObj = $('followmod_'+values['fuid']);
if(values['type'] == 'add') {
fObj.innerHTML = '不收听';
fObj.href = 'home.php?mod=spacecp&ac=follow&op=del&fuid='+values['fuid'];
} else if(values['type'] == 'del') {
fObj.innerHTML = '收听TA';
fObj.href = 'home.php?mod=spacecp&ac=follow&op=add&hash=22cbde00&fuid='+values['fuid'];
}
}
fixed_top_nv();
</script>	</div>
<div class="focus" id="sitefocus">
<div class="bm">
<div class="bm_h cl">
<a href="javascript:;" onclick="setcookie(&#39;nofocus_forum&#39;, 1, 1*3600);$(&#39;sitefocus&#39;).style.display=&#39;none&#39;" class="y" title="关闭">关闭</a>
<h2>
站长推荐<span id="focus_ctrl" class="fctrl"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/pic_nv_prev.gif" alt="上一条" title="上一条" id="focusprev" class="cur1" onclick="showfocus(&#39;prev&#39;);"> <em><span id="focuscur">1</span>/2</em> <img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/pic_nv_next.gif" alt="下一条" title="下一条" id="focusnext" class="cur1" onclick="showfocus(&#39;next&#39;)"></span>
</h2>
</div>
<div class="bm_c" id="focus_con">
<dl class="xld cl bbda">
<dt><a href="http://bbs.msdn5.com/thread-474-1-1.html" class="xi2" target="_blank">玄机论坛C# VIP 培训课程介绍</a></dt>
<dd>玄机论坛C# VIP 培训课程介绍</dd>
</dl>
<p class="ptn cl"><a href="http://bbs.msdn5.com/thread-474-1-1.html" class="xi2 y" target="_blank">查看 »</a></p>
</div>
</div>
</div><div class="bm_c" style="display: none" id="focus_0">
<dl class="xld cl bbda">
<dt><a href="http://bbs.msdn5.com/thread-474-1-1.html" class="xi2" target="_blank">玄机论坛C# VIP 培训课程介绍</a></dt>
<dd>玄机论坛C# VIP 培训课程介绍</dd>
</dl>
<p class="ptn cl"><a href="http://bbs.msdn5.com/thread-474-1-1.html" class="xi2 y" target="_blank">查看 »</a></p>
</div><div class="bm_c" style="display: none" id="focus_1">
<dl class="xld cl bbda">
<dt><a href="http://bbs.msdn5.com/thread-837-1-1.html" class="xi2" target="_blank">关于VIP培训的疑问</a></dt>
<dd>玄机C#培训的性质
</dd>
</dl>
<p class="ptn cl"><a href="http://bbs.msdn5.com/thread-837-1-1.html" class="xi2 y" target="_blank">查看 »</a></p>
</div><script type="text/javascript">
var focusnum = 2;
if(focusnum < 2) {
$('focus_ctrl').style.display = 'none';
}
if(!$('focuscur').innerHTML) {
var randomnum = parseInt(Math.round(Math.random() * focusnum));
$('focuscur').innerHTML = Math.max(1, randomnum);
}
showfocus();
var focusautoshow = window.setInterval('showfocus(\'next\', 1);', 5000);
</script>


					<script type="text/javascript">
					var urlRetry = SITEURL + '/plugin.php?id=security:job';
					var ajaxRetry = new Ajax();
					ajaxRetry.post(urlRetry, 'formhash=22cbde00', function(s){});
					</script>
<script type="text/javascript">
function mw_syntaxhighlighter_show_editor_codebox(editortype) {
var tag = 'code';
var mw_syntaxhighlighter_tag = 'mw_shl_code';
var str = '请输入要插入的代码<br>选择语言：';
str += '<select id="brush_lang" name="lang">';str += '<option value="csharp">C#</option>';
str += '<option value="html">HTML</option>';
str += '<option value="javascript">JavaScript</option>';

str += '</select><br>';

str += '显示行号：';
str += '<input type="checkbox" id="show_gutter" name="show_gutter" value="1" checked><br>';


if(editortype == 'newthread') {

var sel, selection;
var str1 = '', strdialog = 0, stitle = '';
var ctrlid = editorid + '_' + tag;
var menu = $(ctrlid + '_menu');
var pos = [0, 0];
var menuwidth = 270;
var menupos = '43!';
var menutype = 'menu';

str += '<div id="mw_codearea">你的代码：<br>';
str += '<textarea id="' + ctrlid + '_param_1" style="width: 98%" cols="50" rows="5" class="txtarea"></textarea></div>';

//note �޸���ie�µĲ���������
if(BROWSER.ie) {
if(wysiwyg) {
editdoc.body.focus();
sel = editdoc.selection.createRange();
} else {
sel = document.selection.createRange();
}
pos = getCaret();
}

selection = sel ? (wysiwyg ? sel.text : sel.text) : mw_highlighter_getSel();//note �޸�sel.HtmlText�޸�ΪText���༭���еĿ��ӻ��ò��ʵ�ֱȽ�����
if(menu) {
if($(ctrlid).getAttribute('menupos') !== null) {
menupos = $(ctrlid).getAttribute('menupos');
}
if($(ctrlid).getAttribute('menuwidth') !== null) {
menu.style.width = $(ctrlid).getAttribute('menuwidth') + 'px';
}

if(selection) {//note ���ѡ�������ݵĴ���
$('mw_codearea').style.display = 'none';
}

showMenu({'ctrlid':ctrlid,'evt':'click','pos':menupos,'timeout':250,'duration':in_array(tag, ['fontname', 'fontsize', 'sml']) ? 2 : 3,'drag':1});
} else {

var menu = document.createElement('div');
menu.id = ctrlid + '_menu';
menu.style.display = 'none';
menu.className = 'p_pof upf';
menu.style.width = menuwidth + 'px';

s = '<div class="p_opt cl"><span class="y" style="margin:-10px -10px 0 0"><a onclick="hideMenu();return false;" class="flbc" href="javascript:;">关闭</a></span><div>' + str + '</div><div class="pns mtn"><button type="submit" id="' + ctrlid + '_submit" class="pn pnc"><strong>提交</strong></button></div></div>';
menu.innerHTML = s;
$(editorid + '_editortoolbar').appendChild(menu);

if(selection) {//note ���ѡ�������ݵĴ���
$('mw_codearea').style.display = 'none';
}

showMenu({'ctrlid':ctrlid,'mtype':menutype,'evt':'click','duration':3,'cache':0,'drag':1,'pos':menupos});
}

try {
if($(ctrlid + '_param_1')) {
$(ctrlid + '_param_1').focus();
}
} catch(e) {}
var objs = menu.getElementsByTagName('*');
for(var i = 0; i < objs.length; i++) {
_attachEvent(objs[i], 'keydown', function(e) {
e = e ? e : event;
obj = BROWSER.ie ? event.srcElement : e.target;
if((obj.type == 'text' && e.keyCode == 13) || (obj.type == 'textarea' && e.ctrlKey && e.keyCode == 13)) {
if($(ctrlid + '_submit') && tag != 'image') $(ctrlid + '_submit').click();
doane(e);
} else if(e.keyCode == 27) {
hideMenu();
doane(e);
}
});
}
if($(ctrlid + '_submit')) $(ctrlid + '_submit').onclick = function() {
checkFocus();
if(BROWSER.ie && wysiwyg) {
setCaret(pos[0]);
}
if(wysiwyg) {
if(!BROWSER.ie) {
selection = selection ? selection : '';
}
}
str1 = $(ctrlid + '_param_1') && $(ctrlid + '_param_1').value ? $(ctrlid + '_param_1').value : (selection ? selection : '');

var opentag = '[' + mw_syntaxhighlighter_tag + '=' + $('brush_lang').value + ',' + (($('show_gutter') && $('show_gutter').checked) ? 'true' : 'false') + ']';
var closetag = '[/' + mw_syntaxhighlighter_tag + ']';

if(wysiwyg) {
str1 = preg_replace(['<', '>'], ['&lt;', '&gt;'], str1);

str1 = str1.replace(/\r?\n/g, '<br />');
}
str1 = opentag + str1 + closetag;
insertText(str1, strlen(opentag), strlen(closetag), false, sel);
hideMenu();
};

} else if(editortype == 'fastpost' || editortype == 'post') {

var sel = false;
var seditorkey = editortype;
if(!isUndefined($(seditorkey + 'message').selectionStart)) {
sel = $(seditorkey + 'message').selectionEnd - $(seditorkey + 'message').selectionStart;
} else if(document.selection && document.selection.createRange) {
$(seditorkey + 'message').focus();
var sel = document.selection.createRange();
$(seditorkey + 'message').sel = sel;
sel = sel.text ? true : false;
}

var ctrlid = seditorkey + tag;
var menuid = ctrlid + '_menu';

str += '<div id="mw_codearea">你的代码：<br>';
str += '<textarea id="' + ctrlid + '_param_1" style="width: 98%" cols="50" rows="5" class="txtarea"></textarea></div>';

if(!$(menuid)) {
var submitstr = "seditor_insertunit('" + seditorkey + "', '[" + mw_syntaxhighlighter_tag + "=' + $('brush_lang').value + ',' + (($('show_gutter') && $('show_gutter').checked) ? 'true' : 'false') + ']'+$('" + ctrlid + "_param_1').value, '[/" + mw_syntaxhighlighter_tag + "]', null, 1);hideMenu();";
var menu = document.createElement('div');
menu.id = menuid;
menu.style.display = 'none';
menu.className = 'p_pof upf';
menu.style.width = '270px';
$('append_parent').appendChild(menu);
menu.innerHTML = '<span class="y"><a onclick="hideMenu()" class="flbc" href="javascript:;">关闭</a></span><div class="p_opt cl"><form onsubmit="' + submitstr + ';return false;" autocomplete="off"><div>' + str + '</div><div class="pns mtn"><button type="submit" id="' + ctrlid + '_submit" class="pn pnc"><strong>提交</strong></button><button type="button" onClick="hideMenu()" class="pn"><em>取消</em></button></div></form></div>';
}
if(sel) {//note ���ѡ�������ݵĴ���
$('mw_codearea').style.display = 'none';
}
showMenu({'ctrlid':ctrlid,'evt':'click','duration':3,'cache':0,'drag':1});
}
}

function mw_highlighter_getSel() {
if(wysiwyg) {
try {
selection = editwin.getSelection();
return selection.toString();
//checkFocus();
//range = selection ? selection.getRangeAt(0) : editdoc.createRange();
//return readNodes(range.cloneContents(), false);
} catch(e) {
try {
var range = editdoc.selection.createRange();
if(range.htmlText && range.text) {
return range.text;
} else {
var htmltext = '';
for(var i = 0; i < range.length; i++) {
htmltext += range.item(i).outerHTML;
}
return htmltext;
}
} catch(e) {
return '';
}
}
} else {
if(!isUndefined(editdoc.selectionStart)) {
return editdoc.value.substr(editdoc.selectionStart, editdoc.selectionEnd - editdoc.selectionStart);
} else if(document.selection && document.selection.createRange) {
return document.selection.createRange().text;
} else if(window.getSelection) {
alert(editdoc);
return window.getSelection() + '';
} else {
return false;
}
}
}
</script>
<script type="text/javascript" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/mw_syntaxhighlighter.js.download"></script><script type="text/javascript" reload="1">mw_syntaxhighlighter("fastpost");</script>
<!-- mw_syntaxhighlighter ver.3.0.83 Begin -->
<script type="text/javascript" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/shCore.js.download"></script>
<script type="text/javascript" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/shAutoloader.js.download"></script>
<script type="text/javascript" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/shBrushXml.js.download"></script>
<script type="text/javascript">//<![CDATA[
	SyntaxHighlighter.autoloader(
	"c# c-sharp csharp	http://bbs.msdn5.com/source/plugin/mw_syntaxhighlighter/syntaxhighlighter3/scripts/shBrushCSharp.js?ver=3.0.83"
	,"js jscript javascript	http://bbs.msdn5.com/source/plugin/mw_syntaxhighlighter/syntaxhighlighter3/scripts/shBrushJScript.js?ver=3.0.83"
	,"xml xhtml xslt html	http://bbs.msdn5.com/source/plugin/mw_syntaxhighlighter/syntaxhighlighter3/scripts/shBrushXml.js?ver=3.0.83"
	);
	SyntaxHighlighter.defaults['auto-links'] = true;
	SyntaxHighlighter.defaults['quick-code'] = true;
	SyntaxHighlighter.defaults['title'] = '';
	SyntaxHighlighter.defaults['class-name'] = 'notranslate';
	SyntaxHighlighter.defaults['collapse'] = false;
	SyntaxHighlighter.defaults['first-line'] = 1;
	SyntaxHighlighter.defaults['gutter'] = true;
	SyntaxHighlighter.defaults['pad-line-numbers'] = 1;
	SyntaxHighlighter.defaults['smart-tabs'] = true;
	SyntaxHighlighter.defaults['tab-size'] = 4;
	SyntaxHighlighter.defaults['toolbar'] = true;
	SyntaxHighlighter.config.strings.expandSource = '+ expand source';
	SyntaxHighlighter.config.strings.help = '?';
	SyntaxHighlighter.config.strings.alert = 'SyntaxHighlighter';
	SyntaxHighlighter.config.strings.noBrush = "Can\'t find brush for: ";
	SyntaxHighlighter.config.strings.brushNotHtmlScript = "Brush wasn\'t configured for html-script option: ";
	SyntaxHighlighter.all();
	
//]]></script>
<!-- mw_syntaxhighlighter ver.3.0.83 End -->

<script type="text/javascript">
(function() {
var viewsource = [];
var copycode = [];
if(document.getElementsByClassName) {
viewsource = document.getElementsByClassName('viewsource');
copycode = document.getElementsByClassName('copycode');
} else {
var emlist = document.getElementsByTagName('em');
for(var i=0;i<emlist.length;i++) {
if(emlist[i].className == 'viewsource') {
viewsource.push(emlist[i]);
} else if(emlist[i].className == 'copycode') {
copycode.push(emlist[i]);
}
}
}
function mw_code_toolbar_addevent(objs, eventtype) {
for(var i=0; i<objs.length; i++) {
if(objs[i].id != undefined) {
objs[i].setAttribute('num', i);
objs[i].onclick = function() {
var highlighters = SyntaxHighlighter.vars.highlighters;
var k = 0;
var num = this.getAttribute('num');
for(var i in highlighters) {
if(k == num) {
if(eventtype == 'viewcode') {
mw_viewcode_execute(highlighters[i]);
} else if(eventtype == 'copycode') {
mw_copycode_execute(highlighters[i]);
}
break;
}
k++;
}
return false;
}
}
}
}
if(viewsource) {
mw_code_toolbar_addevent(viewsource, 'viewcode');
}
if(copycode) {
mw_code_toolbar_addevent(copycode, 'copycode');
}
function mw_viewcode_execute(highlighter) {
var code = mw_get_code(highlighter);
code = mw_fixinputstring(code).replace(/</g, '&lt;');
var wnd = mw_popup('', '_blank', 750, 400, 'location=0, resizable=1, menubar=0, scrollbars=1');
code = mw_unindent(code);
wnd.document.write('<pre>' + code + '</pre>');
wnd.document.close();
}
function mw_copycode_execute(highlighter) {
var code = mw_get_code(highlighter);
code = mw_fixinputstring(code)
.replace(/&lt;/g, '<')
.replace(/&gt;/g, '>')
.replace(/&amp;/g, '&')
;
code = mw_unindent(code);
setCopy(code, '代码已复制到剪贴板');
}
function mw_fixinputstring(str) {
var br = /<br\s*\/>|<br\s*>|&lt;br\s*\/?&gt;/gi;
if(SyntaxHighlighter.config.bloggerMode == true) {
str = str.replace(br, '\n');
}
if(SyntaxHighlighter.config.stripBrs == true) {
str = str.replace(br, '');
}
return str;
}
function mw_popup(url, name, width, height, options) {
var x = (screen.width - width) / 2,
y = (screen.height - height) / 2
;
options +=	', left=' + x +
', top=' + y +
', width=' + width +
', height=' + height
;
options = options.replace(/^,/, '');
var win = window.open(url, name, options);
win.focus();
return win;
}
function mw_unindent(str) {
var lines = mw_fixinputstring(str).split('\n'),
indents = new Array(),
regex = /^\s*/,
min = 1000
;
for(var i = 0; i < lines.length && min > 0; i++) {
var line = lines[i];
if(mw_trim(line).length == 0) {
continue;
}
var matches = regex.exec(line);
if(matches == null) {
return str;
}
min = Math.min(matches[0].length, min);
}
if(min > 0) {
for(var i = 0; i < lines.length; i++) {
lines[i] = lines[i].substr(min);
}
}
return lines.join('\n');
}
function mw_trim(str) {
return str.replace(/^\s+|\s+$/g, '');
}
function mw_get_code(highlighter) {

var container = mw_findelement($('highlighter_' + highlighter.id), '.container');
var lines = container.childNodes;
var code = [];
for(var i=0; i<lines.length; i++) {
code.push(lines[i].innerText || lines[i].textContent);
}
code = code.join('\r');
return code;

}
function mw_findelement(target, search, reverse) {
if(target == null)
return null;
var nodes = reverse != true ? target.childNodes : [ target.parentNode ],
propertyToFind	= { '#' : 'id', '.' : 'className' }[search.substr(0, 1)] || 'nodeName',
expectedValue,
found
;
expectedValue = propertyToFind != 'nodeName'
? search.substr(1)
: search.toUpperCase()
;
if((target[propertyToFind] || '').indexOf(expectedValue) != -1)
return target;
for(var i = 0; nodes && i < nodes.length && found == null; i++)
found = mw_findelement(nodes[i], search, reverse);
return found;
}
})();
</script>
<div id="ft" class="wp cl">
<div id="flk" class="y">
<p>
<a href="http://wpa.qq.com/msgrd?V=3&amp;Uin=541245124&amp;Site=C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#&amp;Menu=yes&amp;from=discuz" target="_blank" title="QQ"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/site_qq.jpg" alt="QQ"></a><span class="pipe">|</span><a href="http://bbs.msdn5.com/archiver/">Archiver</a><span class="pipe">|</span><a href="http://bbs.msdn5.com/forum.php?mobile=yes">手机版</a><span class="pipe">|</span><a href="http://bbs.msdn5.com/forum.php?mod=misc&amp;action=showdarkroom">小黑屋</a><span class="pipe">|</span><strong><a href="http://bbs.msdn5.com/" target="_blank">玄机论坛</a></strong>
&nbsp;<a href="http://discuz.qq.com/service/security" target="_blank" title="防水墙保卫网站远离侵害"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/security.png"></a>&nbsp;<a href="http://addon.discuz.com/?@tongdun.plugin" target="_blank" title="title"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/tongdun.png"></a><script type="text/javascript">
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?61344dafc51849135cab3ec178a5ad74";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script></p>
<p class="xs0">
GMT+8, 2018-4-25 16:24<span id="debuginfo"> Updated at 16:24:59, Processed in  second(s),  Queries</span>
</p>
</div>
<div id="frt">
<p>Powered by <strong><a href="http://bbs.msdn5.com/" target="_blank">Msdn5.com</a></strong> <em></em></p>
<p class="xs0">© 2014-2015 <a href="http://bbs.msdn5.com/" target="_blank">Msdn5 Inc.</a></p>
</div></div>
<script src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/home.php" type="text/javascript"></script>
<div id="scrolltop" style="left: auto; right: 0px; visibility: hidden;">
<span><a href="http://bbs.msdn5.com/forum.php?mod=post&amp;action=reply&amp;fid=37&amp;tid=27&amp;extra=page%3D1&amp;page=1" onclick="showWindow(&#39;reply&#39;, this.href)" class="replyfast" title="快速回复"><b>快速回复</b></a></span>
<span hidefocus="true"><a title="返回顶部" onclick="window.scrollTo(&#39;0&#39;,&#39;0&#39;)" class="scrolltopa"><b>返回顶部</b></a></span>
<span>
<a href="http://bbs.msdn5.com/forum-37-1.html" hidefocus="true" class="returnlist" title="返回列表"><b>返回列表</b></a>
</span>
</div>
<script type="text/javascript">_attachEvent(window, 'scroll', function () { showTopLink(); });checkBlind();</script>
			<div id="discuz_tips" style="display:none;"></div>
			<script type="text/javascript">
				var tipsinfo = '36709390|X3.2|0.6||0||0|7|1524644698|59e0db8aa632d5f1cf0e4ba8a45bfb0c|2';
			</script>
			<script src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/discuz_tips.js.download" type="text/javascript" charset="UTF-8"></script><script type="text/javascript">document.getElementById("debuginfo").innerHTML = " Updated at 16:24:59, Processed in  second(s),  Queries";</script><div class="safe_statu" style="text-decoration:none;display:none;"><div><div class="gj_tri"><img src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/header_tri.png"></div><div><div class="gj_body"><div class="gj_statu"><div style="display:block;float:left;position: relative; top: -3px;"><img id="gj_show_statu" class="gj_ie6png" src="./玄机论坛Socket类库源码 当前版本 2.6.3 更新日期：10-09_2015 - 『 玄机产品库 』 - C#论坛-玄机论坛-C#论坛-玄机宝盒-玄机类库-C#_files/saved_resource"></div><div class="safe_statu_wording" style="margin-top: 3px;"><span><a id="gj_show_wording" style="text-decoration:none;">safe_statu_wording</a></span></div></div><div style="display:block;clear:both;margin-top:0px;"></div><div id="gj_operate"></div></div><div class="gj_bottom"><!-- <div id="gj_show_info">show_info</div> --><div id="gj_show_gj" style="display:block;clear:both;padding-top:3px;">show_gj<a style="text-decoration:none;color:#444444"> �Ӵ���������ƭ�� </a>show_operate</div></div></div></div></div><div class="gt_holder gt_popup" style="touch-action: none;"><div class="gt_mask"></div><div class="gt_popup_wrap"><div class="gt_popup_header"><div class="gt_popup_ready">请先完成下方验证</div><div class="gt_popup_finish">页面将在2秒后跳转</div><div class="gt_popup_cross"></div></div><div class="gt_popup_box"><div class="gt_widget"><div class="gt_holder_top"></div><div class="gt_box_holder" style="height: 116px;"><div class="gt_box"><div class="gt_loading"><div class="gt_loading_icon"></div><div class="gt_loading_text">加载中...</div></div><a class="gt_bg gt_show" style="background-image: none;"><div class="gt_cut_bg gt_show"><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -157px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -145px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -265px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -277px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -181px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -169px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -241px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -253px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -109px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -97px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -289px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -301px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -85px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -73px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -25px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -37px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -13px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -1px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -121px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -133px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -61px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -49px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -217px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -229px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -205px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -193px -58px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -145px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -157px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -277px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -265px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -169px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -181px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -253px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -241px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -97px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -109px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -301px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -289px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -73px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -85px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -37px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -25px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -1px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -13px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -133px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -121px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -49px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -61px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -229px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -217px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -193px 0px;"></div><div class="gt_cut_bg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/bg/45aa7de3.webp&quot;); background-position: -205px 0px;"></div></div><div class="gt_slice gt_show" style="left: 0px; background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/slice/45aa7de3.png&quot;); width: 52px; height: 56px; top: 0px;"></div></a><a class="gt_fullbg gt_show" style="cursor: default; background-image: none;"><div class="gt_cut_fullbg gt_show"><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -157px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -145px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -265px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -277px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -181px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -169px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -241px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -253px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -109px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -97px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -289px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -301px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -85px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -73px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -25px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -37px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -13px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -1px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -121px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -133px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -61px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -49px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -217px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -229px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -205px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -193px -58px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -145px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -157px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -277px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -265px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -169px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -181px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -253px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -241px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -97px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -109px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -301px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -289px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -73px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -85px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -37px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -25px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -1px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -13px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -133px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -121px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -49px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -61px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -229px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -217px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -193px 0px;"></div><div class="gt_cut_fullbg_slice" style="background-image: url(&quot;http://static.geetest.com/pictures/gt/496156f80/496156f80.webp&quot;); background-position: -205px 0px;"></div></div><div class="gt_flash" style="height: 94px;"></div><div class="gt_ie_success"></div></a><a class="gt_curtain gt_hide" style="background-image: none;"><div class="gt_curtain_bg_wrap"><div class="gt_curtain_bg"><div class="gt_cut_curtain"></div></div></div><div class="gt_curtain_button gt_hide"></div></a><a class="gt_box_tips" style="display: none;"></a></div><div class="gt_info"><div class="gt_info_tip"><div class="gt_info_icon"></div><div class="gt_info_text"></div></div></div></div><div class="gt_bottom"><a class="gt_refresh_button"><div class="gt_refresh_tips">刷新验证</div></a><a class="gt_help_button" href="http://www.geetest.com/contact#report" target="_blank"><div class="gt_help_tips">帮助反馈</div></a><a class="gt_logo_button" href="http://www.geetest.com/first_page" target="_blank"></a></div></div><div class="gt_slider"><div class="gt_guide_tip gt_show">按住左边滑块，拖动完成上方拼图</div><div class="gt_slider_knob gt_show" style="left: 0px;"></div><div class="gt_curtain_tip gt_hide">点击上图按钮并沿道路拖动到终点处</div><div class="gt_curtain_knob gt_hide">移动到此开始验证</div><div class="gt_ajax_tip gt_ready"></div></div></div></div></div></body></html>